Joined: 16 May 2008 Posts: 27 Location: You don't need to know
Posted: Tue Sep 30, 2008 6:28 pm Post subject:
you have to make it a raw_input()
for example:
lulz=raw_input()
print lulz
exactly like that
input means you want them to put in a number, and raw_input is for words and letters.
Now if you want them to type it on the same line as your typing, put:
Dragon is not QUITE right. input() evaluates what the user inputs. So it expects a valid python expression. raw_input() just gets the input.
"input() is equivalent to eval(raw_input())"
Also, input() is not safe, since the user can input code and it will be run. For number input, use int(raw_input()); _________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish
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 vote in polls in this forum You cannot attach files in this forum You can download files in this forum