Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:"))
Expand Down Expand Up @@ -90,4 +97,5 @@ def armstrong():
print_factors()
palindrome()
fibonacci()
OddEven()