Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- guess=input("guess my name? ")
- total=1 #ugly code but it works
- while guess != "Vlad":
- total=total+1
- guess=input("Wrong, guess again, ")
- print("Attempt nr. " + str(total) )
- print("Well done")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement