funny url checker

This commit is contained in:
Bart Koolen 2025-10-22 19:28:42 +02:00
parent fed5ac26b5
commit cf703c7bdd

View file

@ -1,6 +1,11 @@
from time import sleep
import requests as http
from time import sleep, time
for i in range(1,10):
sleep(i)
print(f"Num is: {i}")
sleep(1)
startTime = time()
http.get("https://fs.gjkoolen.com")
endTime = time()
duration = endTime - startTime
print(f"⏱️ Request took **{duration:.4f} seconds**")