Python – Find the biggest of 2 given numbers

By | 2018-04-29T15:41:44+00:00 April 24th, 2018|Python|0 Comments

A simple python example to find the biggest of 2 given numbers.

Biggest of 2 given numbers:

number1 = input("Enter First Number: ")
number2 = input("Enter Second Number: ")
if number1 > number2:
    print("The Biggest number is: ",number1)
else:
    print("The Biggest number is: ",number2)

Output:

Enter First Number: 20
Enter Second Number: 40
The Biggest number is:  40

Happy Learning 🙂

About the Author:

Hi Folks, you have reach this so far, that shows you like what you are learning. Then why don't you support us to improve for bettor tutorials by leaving your valuable comments and why not you keep in touch with us for latest updates on your favorite blog @ facebook , twitter , Or Google+ ,

Leave A Comment