[Tutor] Interactive programming.

Sander Sweers sander.sweers at gmail.com
Wed Jan 7 23:21:53 CET 2009


On Wed, Jan 7, 2009 at 22:45, WM. <wferguson1 at socal.rr.com> wrote:
> Norman Khine wrote:
>>
>>  >>> i = 5
>>  >>> j = 7
>>  >>> if i <= j:
>> ...     print 'nudge', 'nudge'
>> ... else:
>> ...     print 'whatever'
>> ...
>> nudge nudge
>
> The above is just what the tutorials said would happen.
> Can anyone give me a step-by-step in IDLE 2.6 that would make this happen?

The above is not from idle but from the interactive python command
line. If you are on windows it is an entry in the python 2.6 start
menu entry.

Greets
Sander


More information about the Tutor mailing list