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 enigma_dev (7079) [earned 5 cycles]
View Answer
enigma_dev (7079)

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!