TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Odd Or Even Number In Python
Sr Karthiga
Aug 08
2016
Code
805
0
1
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
oddeven.zip
num =
int
(input(
"Enter a number: "
))
if
(num % 2) == 0:
print(
"{0} is Even"
.format(num))
else
:
print(
"{0} is Odd"
.format(num))
odd or even
Python In odd or even