# Wap using loop to print odd even in a given m and n term

m = int(input("Enter the number: "))
n = int(input("Enter the number: "))

for i in range(m, n+1):
    if i % 2 == 0:
        print(f"{i} is even")
    else:
        print(f"{i} is odd")

Embed on website

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