David Garay Caballero@davidgaray
print("ADIVINA EL NÚMERO" + "\n")
print("COMO JUGAR: Crearemos un número aleatorio y tienes que adivinarlo siguiendo las pistas que te iremos dando" + "\n")
usuario = 0
numero = random.randint(0,9999)
while usuario != numero:
usuario = int(input("CÚAL ES EL NÚMERO?" + "\n"))
if usuario < numero:
print("Sigue intentando, escribe un número mayor ⬆" + "\n")
elif usuario > numero:
print("Sigue intentando, escribe un número menor ⬇"+ "\n")
else:
print("Felicidades, acertaste el número ES correcto ✅"+ "\n")```