Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- guess = input("guess my name ")
- count = 0
- while guess != "John":
- guess = input("wrong - guess again ")
- count +=1
- print("well done")
- print("You guessed " + str(count) + " times")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement