# Turn the list into a literal string: s = ['I', 'want', 4, 'apples', 'and', 18, 'bananas'] # will return: "['I', 'want', 4, 'apples', 'and', 18, 'bananas']" print(str(s))