# Filename: guessmythoughts.py # Author: Brian L. Walter # Description of contents: # A simple program demonstrating the if-elif-else and while # constructs. correct = False while not correct: guess = raw_input("Guess what I'm thinking about.\n") if guess == "bees": print "How'd you know?" correct = True elif guess == "bee parts": print "Pretty close..." else: print "Sorry, loser."