[Tutor] Not workin!
Corey Richardson
kb1pkl at aim.com
Tue Sep 29 23:40:49 CEST 2009
I got suggested to use this format for my code, as it was shorter and
prettier. But It dun work!
if wellness != ["Well","Fine","Good", "OK", "ok", "Ok", "Great",
"Awesome", "Epic"]:
print "Oh, I'm sorry you are not feeling well."
areYouOk = raw_input("I guessed correct, right?")
if areYouOk != ["yes", "yep", "yup", "yea"]:
print "Oh, thats to bad. Things will be better"
else :
print "Oh, I'm glad your ok then!"
It just prints the "Oh, I'm sorry you are not feeling well.", and then
when you reply, it says "Oh, thats to bad. Things will be better"/
Ahhh! Why does it be do this? And there is no error, btw.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kb1pkl.vcf
Type: text/x-vcard
Size: 55 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tutor/attachments/20090929/ebf66e3e/attachment.vcf>
More information about the Tutor
mailing list