Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. import time
  2.  
  3. start_time = time.time()
  4.  
  5. result = input ("Write the alphabet");
  6.  
  7. if (result != "abcdefghijklmnopqrstuvwxyz"):
  8. print("You got it wrong!")
  9. else:
  10. if (time.time() - start_time) > 10.0:
  11. print ("Too Slow!")
  12. else:
  13. print ("You Win!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement