Zapisz ilość czasu ittales dla kodu uruchomienia Pythona
from time import time
start = time()
#code here
print(f'Time taken to run: {time() - start} seconds'
Makstar
from time import time
start = time()
#code here
print(f'Time taken to run: {time() - start} seconds'