Advertisement
Guest User

Untitled

a guest
Nov 12th, 2017
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. import time
  2.  
  3. then = time.strftime('%S')
  4. prompt = input("Hey fam, what's up? ")
  5. now = time.strftime('%S')
  6. print("It took you",str(abs(float(then)-float(now))),"seconds to answer my question!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement