Input any two numbers and find out largest number

 #Write a program to input any two numbers and find out largest number among these numbers.

x= int(input("Enter Value for X: "))

y= int(input("Enter Value for Y: "))
if (x>y):

   print("X is Largest Number ")

else:

   print("Y is Largest Number")

output:

 



Popular posts from this blog

Python Programming Practical no 1

Python Progrmming Practical No 3