Newbie Question.. What is the replacement for the ELSE command?.
cable40 at hotmail.com
Sat Sep 15 00:48:30 CEST 2001
Thanks for the reply.
The question you asked me, put me on the right track. I used your
example. after the second line when I hit return, It starts my 3rd
line, directly under the second. I did a dedent region and it worked.
It will take me a while...... its fun though....
thanks for the help.
On Fri, 14 Sep 2001 22:14:41 GMT, "Maan Hamze" <mmhamze at pleiades.net>
>Can you give an exact example of Python code with 'else' that is not
>working? Please include all indentations with the code you are using.
>something that works, say for example:
> print 'happy'
> print 'sad'
>"Cable" <cable40 at hotmail.com> wrote in message
>news:qiv4qtkbhi5tgeb2knf14m4r5ikh9jesf1 at 4ax.com...
>> I am trying to teach myself Python. All the online tutorials, have
>> examples with the else command. I cant get it to work is there a
More information about the Python-list