Advertisement
KennasSticky

Python_Solution_TIme

Jan 23rd, 2022
789
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. # 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
Add Comment
Please, Sign In to add comment
Advertisement