Hi guys,
I am really new to the programming and I decided to start with python. I found
a book called "beginning python" and started to learn, but I had a problem with
the command "elif". I am running 10.7 and python 2.72. Here is my problem:
>>> milk_price = 1.50
>>> if milk_price < 1.25:
print "Buy two cartons of milk, they're on sale"
elif milk_price < 2.00:
SyntaxError: invalid syntax
I'll appreciate very much your help,
Thank you,
Doychin
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG