problem with the if statement and elif

Wojtek Walczak gminick at hacker.pl
Sat Jan 18 05:40:31 EST 2003


Dnia 18 Jan 2003 07:25:16 GMT, CIouded 0ne napisał(a):
> hey i have a question i look at the tutorials that come for download with the
> python interpreter and whatnot and i can never get the if and elif to work for?
You should read what's true/false in python:
      <http://www.python.org/doc/current/lib/truth.html>
about boolean operations:
      <http://www.python.org/doc/current/lib/boolean.html>
and about comparisions:
      <http://www.python.org/doc/current/lib/comparisons.html>
it's a key to understand how if/elif/else construct works in python.

-- 
[ ] gminick (at) underground.org.pl  http://gminick.linuxsecurity.pl/ [ ]
[ "Po prostu lubie poranna samotnosc, bo wtedy kawa smakuje najlepiej." ]




More information about the Python-list mailing list