dias_semana={1:"Lunes",
            2:"Martes",
            3:"Miercoles",
            4:"Jueves",
            5:"Viernes",
            6:"Sabado",
            7:"Domingo"}

numero=int(input("Ingrese un numero del 1 al 7. "))
if 1<=numero <=7:
    print(f"El día correspondiente es: {dias_semana[numero]}")
else:
    print("Número fuera de rango. Debe ser entre 1 y 7.")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: