Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- start_time = time.time()
- result = input ("Write the alphabet");
- if (result != "abcdefghijklmnopqrstuvwxyz"):
- print("You got it wrong!")
- else:
- if (time.time() - start_time) > 10.0:
- print ("Too Slow!")
- else:
- print ("You Win!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement