LearnPy Hub
← Lists problems
Easy

Add to the End

Read a list of words on the first line and a new word on the second. Append the new word and print the list.

Input

Two lines.

Output

A Python list.

Sample 1

Input
tea coffee
milk
Output
['tea', 'coffee', 'milk']

Sample 2

Input
a
b
Output
['a', 'b']
solution.py
Output appears here
Add to the End · Python practice problem · LearnPy Hub