funny stuff

This commit is contained in:
Bart Koolen 2025-10-22 23:41:39 +02:00
parent cf703c7bdd
commit 275e8b605e

View file

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