I would like this script to only have a choice of one these. I'm not sure
how to do it. My example would be when someone types Good next to print how
I want it to reply Thats nice. Anyone know how and if I am making more
mistakes point them out please.
How=("How are you today: ")
print How
Good=('Thats nice')
good=raw_input(Good)
Good=raw_input(Good)
Ok=('Good good')
Ok=raw_input(Ok)
ok=raw_input(Ok)
Bad=('Oh dear')
Bad=raw_input(Bad)
bad=raw_input(Bad)
Thanks
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor