Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- guess =input("guess my name - ")
- count = 1
- while guess!="Rod":
- guess = input("Wrong - guess again - ")
- count = count +1
- print ("well done")
- print ("You took " + str(count) +" guesses to get my name write!")
Add Comment
Please, Sign In to add comment