Good afternoon could you help me with this code please:
try:
numero1=int(input("Digite el primer numero entero:"))
numero2=int(input("Digite el segundo numero entero:"))
for i in range(numero1+1,numero2,1):
if i % 5 == 0:
print(i)
else:
print("No hay multiplos de 5 comprendidos entre ambos numeros")
break
for l in range(numero2+1,numero1,1):
if l % 5 == 0:
print(l)
else:
print("No hay multiplos de 5 comprendidos entre ambos numeros")
break
except ValueError:
print("El valor digitado debe ser numerico")
No matter which numbers you enter, it always prints what is in the else, and if I delete the two "else" the program works but it is incomplete because I also need you to tell me when the "if" is not fulfilled