diff --git a/app.py b/app.py index 2c9082f..1141818 100644 --- a/app.py +++ b/app.py @@ -9,6 +9,13 @@ def multiply(): y = int(input("Enter your number 2: ")) z = x*y print("Your final result is: ", z) + +def OddEven(): + num = int(input("Enter a number here: ")) + if (num % 2) == 0: + print("{0} is Even".format(num)) + else: + print("{0} is Odd".format(num)) def factorial(): x = int(input("enter your number:")) @@ -90,4 +97,5 @@ def armstrong(): print_factors() palindrome() fibonacci() + OddEven()