import httpx import time for _ in range(3): print("tick") time.sleep(1)