by CodeChum Admin
Instructions:
Input
Two lines containing a string.
fun
Python
Output
A line containing a string.
Python is really fun
s1 = input()
s2 = input()
given_list = ["foo", "fun", "bar"]
given_list.append(s1)
given_list.insert(0, s2)
given_list.remove(given_list[2])
for i in given_list:
print(i
Comments
Leave a comment