IDLE 2.6
>>> i = 1
>>> j = 11
>>> if  j > 1:
        print j
        else:
                
SyntaxError: invalid syntax
>>>

I am getting a little dizzy here.

I know about text editor, code, save, F5.

Many tutorials say that it is funner and faster to test an idea 'interactively', using IDLE. Nothing is said about fiddling the output.

In the above bit the 'else' is in the wrong place because IDLE or PYTHON terminated the script.

I hate to be a bore here, but if the mechanics of the program are not as they are said to be in the tutorials, how am I to proceed?
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to