num1 = int(input("Ingrese el primer número entero: "))
num2 = int(input("Ingrese el segundo número entero: "))
if num1 > num2:
num1, num2 = num2, num1
print(f"Números pares entre {num1} y {num2}:")
while num1 <= num2:
if num1 % 2 == 0:
print(num1)
num1 += 1
To embed this project on your website, copy the following code and paste it into your website's HTML: