diff --git a/Python_odd_num b/Python_odd_num new file mode 100644 index 00000000..dbf47163 --- /dev/null +++ b/Python_odd_num @@ -0,0 +1,5 @@ +num = int(input("Enter a number: ")) +if (num % 2) == 0: + print("{0} is Even".format(num)) +else: + print("{0} is Odd".format(num))