###2 Questions made by Caleb Arnold, to help other people### ###The print statement prints something on screen### print "Welcome to the animal guessing game" print "" ###Three quote symbols in a row holds format, as you see ###I have it split over two line without putting another print ###statement, it will split in the same spot in you run the program### print """Choos a cat, ant or horse and I bet in 2 questions or less I can guess what animal you are thinking of""" print "" print "" print "" print "Answer these questions." print "" ###"qon" stands for "question one"### ###the raw_input statement, gets what the user has typed in, ###in this we are looking for the letter y or n### qone = raw_input("Can you ride it? [y for yes/ n for no]") ###If qone equals the letter "y", print whatever### if qone == "y": print "I bet its a horse!" ###On Python when you hit enter and there is nothing to do, it will close### raw_input("Press enter to exit") ###This is still refering to the question "Can you ride it?" if they ####type "n" for no, then set the raw_input for the next question### if qone == "n": qtwo = raw_input("Last question! Does it have fur? [y for yes/ n for no]") ###If the animal has fur, then it is a cat### if qtwo == "y": print "It's a cat!" ###If it has no fur, then it is an ant### if qtwo == "n": print "It's an ant!" ###On Python when you hit enter and there is nothing to do, it will close### raw_input("Press enter to exit")