import time
import datetime
import os

while True:
    os.system("cls") # Para limpiar la pantalla
    hora_actual = datetime.datetime.now()
    print("{}:{}:{}".format(hora_actual.hour, hora_actual.minute, hora_actual.second))
    time.sleep(1)

