Below is the program to find the maximum number out of the given three numbers.
n1= int(input("Enter first number : "))
n2= int(input("Enter second number : "))
n3= int(input("Enter third number : "))
if n1>n2 and n1>n3 :
print(str(n1)+" is biggest number ")
elif n2>n1 and n2>n3 :
print(str(n2)+" is biggest number ")
elif n3>n1 and n3>2 :
print(str(n3)+" is biggest number ")
else:
print("Hey !!! all numbers are equal")
Output:
- Python tutorials
- Input and Output in Python
- f-strings in Python
- end and sep in Python
- Python QuickStart
- Variables in Python
- Data Types in Python
- Operators in Python
- Python program to compute net run rate
- Python program to get biggest number
- Python program to count the frequency of every element
- Python program of list and swap its content
- Python program to get max numbers
- Python program to generate patterns
- Python Program to Check Armstrong
- Python program to print multiplication table
- Python program for domestic electricity bill
- Python program to find maximum number
- Python program to check uppercase or lowercase letter