Ask coding questions

← Back to all posts
How to do lists in python?
johnsmith1984 (0)

Mine do not really work. I tried this:

thislist = ["apple", "banana", "cherry"]
Answered by qualladoom (357) [earned 5 cycles]
View Answer
qualladoom (357)

Hey John/josh. this is pretty easy to solve. You made a simple, but nasty mistake, which happened to me often aswell. instead of print("thislist"), you have to do print (thislist). Now it prints your list!