Python Program to find Largest of Two Numbers

# Python Program to find Largest of Two Numbers  a = float(input(" Please Enter the First Value a: ")) b = float(input(" Please Enter the Second Value b: "))  if(a > b):     print("{0} is Greater than {1}".format(a, b)) elif(b > a):     print("{0} is Greater than {1}".format(b, a)) else:     print("Both a and b are Equal")

In this Program to find Largest of Two Numbers output, First, we entered the values a = 50, b = 100

Please Enter the First Value a: 50   Please Enter the Second Value b: 100  100.0 is Greater than 50.0

Next, we entered the values a = 50, and b = 50

Please Enter the First Value a: 50  Please Enter the Second Value b:    50  Both a and b are Equal