Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MBPFAN

macrumors newbie
Original poster
Feb 5, 2012
1
0
I'm learning Python IDLE. I'm trying to write a very simple text game. I'm one error away to have it working.
SyntaxError: invalid syntax
items = ["Cup","Vase","Table","Lamp","Bowl","Door"]
(Bold is highlighted) All I want to do is create a list. Somebody please help.
:confused:
 
Try a different name; maybe "items" is a reserved name?

Also, what is on the line above it? Many times, the context can help a lot.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.