Author |
Message |
Berserk Inferno
Joined: Thu Feb 12, 2009 5:08 pm Posts: 140
|
Ok so I'm working with python and Am trying to input a string.
I use the simple "input" with a prompt method. this is the error I'm getting:
Traceback (most recent call last): File "_", line 3, in <module> List_of_elements = input('Input each group of characters\n with a comma and space inbetween\n each consecutive group: ') File "<string>", line 1 2BELLS ^ SyntaxError: unexpected EOF while parsing
Can someone help me?
(Also, when I enter T4LLS, it says that T4LLS is not defined.)
I thought that this was odd b/c I was entering strings.
|
Sat Feb 12, 2011 8:29 pm |
|
|
~Derpy Hooves~
Joined: Wed Jan 20, 2010 9:36 pm Posts: 869
Gender: Female
|
first of all, post your code
second of all, i think you forgot to add quotations around your "string"
_________________
|
Sat Feb 26, 2011 8:19 pm |
|
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|