Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Let's have some fun!")
- count = 0
- guess = input("Guess my name (hint female beginning with 'd') ")
- while guess != "doris":
- guess = input("Incorrect! - guess again ")
- count = count + 1
- print("Well done! You did it after " + str(count) + " guesses!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement