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
Finding Largest 3 Number In Python
Sr Karthiga
Aug 09
2016
Code
661
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
Greater.zip
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)
Largest Number
Largest Number in Python