Write A Python Program To Find Max Between Two Numbers.

 Write A Python Program To Find Max Between Two Numbers.

Code:

num1 = int(input("Enter  The Number 1 :"))
num2 = int(input("Enter  The Number 2 :"))

if num1>num2 :
    print(num1,"is Greater")
else :
    print(num2,"is Greater")

Output:

Enter  The Number 1 :25

Enter  The Number 2 :26

26 is Greater

Enter  The Number 1 :99

Enter  The Number 2 :97

99 is Greater

Download Code

Comments

Popular posts from this blog

Write A Python Program, Create n Empty Dictionary Allow 4 Friends To, Enter Their Favorite Programming Language As values and User Keys as their Name Assume That The Names Are Unique.

Write Python Program To Store Seven Fruits Name In a List Enter By The User