Newbie Question.. What is the replacement for the ELSE command?.
skip at pobox.com
Sat Sep 15 00:14:54 CEST 2001
>> 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
Not really. Here are some tips:
1. Post some example code that's not working.
2. Make sure your "else" lines up with your "if" and that their
subsidiary clauses are indented properly, e.g.,
if age > 90:
print "hey, I'm gettin' old!"
print "geez, I'm just a whippersnapper!"
3. Check out the tutor and python-help mailing lists. More about them
4. Check out the various tutorial information at
Skip Montanaro (skip at pobox.com)
More information about the Python-list