Skip to content

Commit f13b140

Browse files
commit code
1 parent 8ad0192 commit f13b140

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Chapter2/Multiples.py

Whitespace-only changes.

Chapter2/OddOrEven.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
print("WELCOME TO ODD AND EVEN CONFIRMATION ")
2+
print("ENTER A DIGIT")
3+
number = int(input())
4+
if number % 2 == 0:
5+
print(number, " IS EVEN NUMBER")
6+
elif number % 1 == 0:
7+
print(number, "IS ODD NUMBER")

0 commit comments

Comments
 (0)