def check_odd_even(num):
    if num % 2 == 0:
        print(f"{num} is an even number.")
    else:
        print(f"{num} is an odd number.")


Embed on website

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