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(&quot;enter a value: &quot;)<br>if x == 1:<br>&nbsp;&nbsp;&nbsp;&nbsp; print &quot;you entered one&quot;<br>elif x == 2:<br>&nbsp;&nbsp;&nbsp;&nbsp; print &quot;you entered two&quot;<br>elif x == 3:<br>&nbsp;&nbsp;&nbsp;&nbsp; print &quot;you entered three&quot;<br><br>
after I entered the line &quot; x = input(&quot;enter a value: &quot;) and ask &quot;enter a value: &quot; 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>