input any two number and find out Smallest number

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

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

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


if (x<y):

   print("X is Smallest Number ")

else:

   print("Y is Smallest Number")

Output:


 

 

Popular posts from this blog

Python Programming Practical no 1

Python Progrmming Practical No 3