import time while True: print("Heure courante", time.strftime("%H:%M:%S")) time.sleep(1)