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"]
print("thislist")
Answered by enigma_dev (87) [earned 5 cycles]
View Answer
Commentshotnewtop
enigma_dev (87)

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!