[Tutor] Interactive programming.

WM. wferguson1 at socal.rr.com
Tue Jan 6 20:12:16 CET 2009


 >>> i = 5
 >>> j = 7
 >>> if i <= j:
	print 'nudge, nudge'
           else:
		
   File "<pyshell#8>", line 3
     else:
    ^
IndentationError: unexpected indent

Running in IDLE, all is well until "else:". IDLE seems perplexed about 
the >>>s.  I try to de-dent else via the backspace key, after that there 
is no way to avoid an error message.


More information about the Tutor mailing list