cetak python berapa lama waktu yang dibutuhkan
import time
start_time = time.time()
#your program
print ("My program took", time.time() - start_time, "to run")
Lovely Lark