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:

Founder of onlinetutorialspoint.com Love Java, Python, Shell and opensource frameworks. Follow him on twitter and facebook for latest updates.

Leave A Comment