numero = 7
adivinanza = 0
while adivinanza !=numero:
adivinanza=int(input("Ingrese u numero del 1 al 10"))
if adivinanza==numero:
print(" ¡Correcto!" )
break
else:
print(" No es correcto ")
To embed this project on your website, copy the following code and paste it into your website's HTML: