Nathan Pinno napsal(a):
cal_opt = int(raw_input("What option would you like: "))
if cal_opt == "1":
       ......


your problem is in these two lines (and even more, but if you solve this, the others you get for free).
try run just these two lines and guess, think about what kind of variable is  in cal_opt.


elif cal_opt == "2":
    X = input("First number:" )
    Y = input("Second number:" )
    print X, "-", Y, "= ",X - Y
    cal_opt = int(raw_input("Option: "))
the other trouble might be on the last line - note that "if" is not "while". :-)

before creating your own program would be better to go through some nice tutorial,  to get some experience.........

nice pytime
geon

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to