Advertisement
KennasSticky

Python_Solution_TIme

Jan 23rd, 2022
687
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import time
  2.  
  3. # starting time
  4. start = time.time()
  5.  
  6. # PROGRAM WILL BE EXECUTED HERE
  7.  
  8. # end time
  9. end = time.time()
  10.  
  11. # total time taken
  12. print(f"Runtime of the program is {end - start}")
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement