The McLeodGaming forums were permanently closed on April 30th, 2020. You are currently viewing a read-only archive.
View unanswered posts | View active topics It is currently Fri May 15, 2020 9:26 am



 [ 2 posts ] 
Help please 
Author Message
User avatar

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
User avatar

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"

_________________
Image


Sat Feb 26, 2011 8:19 pm
Display posts from previous:  Sort by  
 [ 2 posts ] 

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

cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF.