On 20/12/2015 00:33, Alan Gauld wrote:
On 19/12/15 17:39, Nathaniel Olivier via Tutor wrote:
I don't understand what's wrong with this piece of code?

It does help if you give a more meaningful subject when asking, otherwise trying to find a specific thread in the archives is all but impossible.


Thee are several problems

print ("The Flying Circus recently entered your town and are doing a never
seen before performance")
answer=raw_input("Shall you go? Type Yes or No to answer.")

def the_flying_circus():
     if answer == "Yes" or "yes" or "YES" or "yES":

THis is not doping what you think.
----------------^
whoops :)

--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to