Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 87ba460

Browse files
Create solution1.py
1 parent 5b2de9e commit 87ba460

File tree

1 file changed

+5
-0
lines changed
  • Problem Solving in Python/01_Basic Problems/Solutions

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
number = int(input("Enter the number: "))
2+
if number % 2 == 0:
3+
print("Even")
4+
else:
5+
print("Odd")

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /