26. Python Program to find the Biggest of given three numbers.
How does this program work?
- In this program you are going to learn about how to find out the largest number among given three numbers using Python.
- This problem is solved by using nested if...else statement and &&(and) operator.
- After that by using given logic we get the Output.
Here is the code
a = int(input("Enter first number: "))
b = int(input("Enter second number: "))
c = int(input("Enter third number: "))
if a >= b and a >= b:
print("Biggest number is: ",a)
elif b >= a and b >= c:
print("Biggest number is: ",b)
else:
print("Biggest number is: ", c)