Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- count=1
- guess = input('Please guess my name: ')
- while guess != "Fahim" and guess != "fahim":
- guess = input('Sorry, that is not right. Please try again: ')
- count=count+1
- print(guess,'is correct. Well done!')
- print(' ')
- if count == 1:
- text='guess'
- else:
- text='guesses'
- print('It took you',count,text,'to get it right!')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement