Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- text=raw_input('Enter text:\n> ')
- text=text.split(" ")
- guess="nonononononono"
- nums=int(0)
- longi=len(text)-1
- print"\n"*50
- while guess != text[longi]:
- guess=raw_input('Enter guess:\n> ')
- if guess == text[nums]:
- nums=nums+1
- print'Correct'
- else:
- print'Try Again'
- print"You did it!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement