create account

Python Program to Check if a Number is Odd or Even by python-dev

View this thread on: hive.blogpeakd.comecency.com
· @python-dev ·
$0.54
Python Program to Check if a Number is Odd or Even
``` 
# Python program to check if the input number is odd or even.
# A number is even if division by 2 gives a remainder of 0.
# If the remainder is 1, it is an odd number.

num = int(input("Enter a number: "))
if (num % 2) == 0:
   print("{0} is Even".format(num))
else:
   print("{0} is Odd".format(num))
 ```
👍  ,
properties (23)
authorpython-dev
permlinkpython-program-to-check-if-a-number-is-odd-or-even
categorypython-dev
json_metadata{"tags":["python-dev"],"app":"hiveblog/0.1","format":"markdown"}
created2020-03-22 09:30:18
last_update2020-03-22 09:30:18
depth0
children2
last_payout2020-03-29 09:30:18
cashout_time1969-12-31 23:59:59
total_payout_value0.268 HBD
curator_payout_value0.269 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length311
author_reputation5,457,648,648,750
root_title"Python Program to Check if a Number is Odd or Even"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,537,099
net_rshares1,692,273,874,169
author_curate_reward""
vote details (2)
@steemcleaners ·
$0.94
[Plagiarism](http://www.plagiarism.org/plagiarism-101/what-is-plagiarism/) is the copying & pasting of others work without giving credit to the original author or artist. Plagiarized posts are considered fraud and violate the intellectual property rights of the original creator. 

Fraud is discouraged by the community and may result in the account being Blacklisted.
👍  , ,
properties (23)
authorsteemcleaners
permlinkq7v2ol
categorypython-dev
json_metadata{"links":["http://www.plagiarism.org/plagiarism-101/what-is-plagiarism/"],"app":"hiveblog/0.1"}
created2020-03-27 16:48:24
last_update2020-03-27 16:48:24
depth1
children0
last_payout2020-04-03 16:48:24
cashout_time1969-12-31 23:59:59
total_payout_value0.472 HBD
curator_payout_value0.471 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length368
author_reputation2,789,224,428,782,668
root_title"Python Program to Check if a Number is Odd or Even"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,602,907
net_rshares3,458,048,515,223
author_curate_reward""
vote details (3)
@steemcleaners ·
$0.93
[Plagiarism](http://www.plagiarism.org/plagiarism-101/what-is-plagiarism/) is the copying & pasting of others work without giving credit to the original author or artist. Plagiarized posts are considered fraud and violate the intellectual property rights of the original creator. 

Fraud is discouraged by the community and may result in the account being Blacklisted.
👍  , ,
properties (23)
authorsteemcleaners
permlinkq7v2pp
categorypython-dev
json_metadata{"links":["http://www.plagiarism.org/plagiarism-101/what-is-plagiarism/"],"app":"hiveblog/0.1"}
created2020-03-27 16:49:03
last_update2020-03-27 16:49:03
depth1
children0
last_payout2020-04-03 16:49:03
cashout_time1969-12-31 23:59:59
total_payout_value0.467 HBD
curator_payout_value0.466 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length368
author_reputation2,789,224,428,782,668
root_title"Python Program to Check if a Number is Odd or Even"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,602,924
net_rshares3,425,759,277,640
author_curate_reward""
vote details (3)