Advertisement
xavicano

Untitled

Oct 13th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. guess = input("guess my name ")
  2. count=0
  3. while guess != "Martin":
  4.     guess = input("wrong - guess again ")
  5.     count+=1
  6. print("well done")
  7. print("You have needed ", count, "times")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement