ok, so I just started working with python, however I have been working with Java for awhile, and am fairly familiar with it. my problem with Python is for the IDLE editor, and it is this: the return key, or enter key not only moves the editor to the next line, but also executes the script. so if I tried to enter a line like:<br>
<br>x = input("enter a value: ")<br>if x == 1:<br> print "you entered one"<br>elif x == 2:<br> print "you entered two"<br>elif x == 3:<br> print "you entered three"<br><br>
after I entered the line " x = input("enter a value: ") and ask "enter a value: " I would type a number, and the script would end.<br><br>basically, I am wondering if there is a way to make it not execute when you press return. I looked through the options, and it said the F5 key is what executes the script, (but I am on a laptop, so pressing F5 turns up the volume)<br>
<br><br>anyway, please help!<br>thanking to you in advance,<br><br>Yoda Almighty.<br>