horas=int(input("Ingrese las horas "))
v_luz=300000
horas_a_seg=horas*3600
distancia_recorrida=v_luz*horas_a_seg
print(f"La distancia recorrida es de {distancia_recorrida}")
To embed this project on your website, copy the following code and paste it into your website's HTML: