Answers for "input vs function"

0

input vs function

def smaller_num(x,y):
    if x>y:
        number= y
    else:
        number= x
    return number

k=smaller_num(x= input("Enter first number:-") ,y= input("Enter second number:-"))

print("The smaller number between x  & y  is ", k)
Posted by: Guest on August-24-2021

Code answers related to "input vs function"

Browse Popular Code Answers by Language