create account

Python Program to Find the Largest Among Three Numbers by python-dev

View this thread on: hive.blogpeakd.comecency.com
· @python-dev ·
$0.52
Python Program to Find the Largest Among Three Numbers
``` 
# Python program to find the largest number among the three input numbers

# change the values of num1, num2 and num3
# for a different result
num1 = 10
num2 = 14
num3 = 12

# uncomment following lines to take three numbers from user
#num1 = float(input("Enter first number: "))
#num2 = float(input("Enter second number: "))
#num3 = float(input("Enter third number: "))

if (num1 >= num2) and (num1 >= num3):
   largest = num1
elif (num2 >= num1) and (num2 >= num3):
   largest = num2
else:
   largest = num3

print("The largest number is", largest)
 ```
👍  ,
properties (23)
authorpython-dev
permlinkpython-program-to-find-the-largest-among-three-numbers
categorypython-dev
json_metadata{"tags":["python-dev"],"app":"hiveblog/0.1","format":"markdown"}
created2020-03-22 09:42:18
last_update2020-03-22 09:42:18
depth0
children1
last_payout2020-03-29 09:42:18
cashout_time1969-12-31 23:59:59
total_payout_value0.260 HBD
curator_payout_value0.260 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length559
author_reputation5,457,648,648,750
root_title"Python Program to Find the Largest Among Three Numbers"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,537,193
net_rshares1,641,417,595,541
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
permlinkq7v2pf
categorypython-dev
json_metadata{"links":["http://www.plagiarism.org/plagiarism-101/what-is-plagiarism/"],"app":"hiveblog/0.1"}
created2020-03-27 16:48:54
last_update2020-03-27 16:48:54
depth1
children0
last_payout2020-04-03 16:48:54
cashout_time1969-12-31 23:59:59
total_payout_value0.468 HBD
curator_payout_value0.468 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length368
author_reputation2,789,224,428,782,668
root_title"Python Program to Find the Largest Among Three Numbers"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,602,919
net_rshares3,434,967,235,554
author_curate_reward""
vote details (3)