Ask users to enter three numbers. Write a python program to find the greatest number among them. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Ask users to enter three numbers. Write a python program to find the greatest number among them.

Guys how to program this project using nested if-else statement..

14th Sep 2021, 12:52 AM
Pravesh Bhandari
Pravesh Bhandari - avatar
1 Answer
- 1
There are simpler ways to do this, but if you want to do it with if, elif, else statements all you have to do is to compare numbers using ">" and/or "<".
14th Sep 2021, 1:11 AM
Simon Sauter
Simon Sauter - avatar