Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- guess = input("Guess my name: ")
- count = 1
- while guess != "Martin":
- guess = input(" Wrong - guess again")
- count = count + 1
- print("Well done.")
- print("Guesses taken =", count)
Advertisement
Add Comment
Please, Sign In to add comment