Find large between two number

Factorial Program Find  large  between two number enter by User 


Input Format:
The first line of input contains two numbers separated by a space

Output Format:
Print the larger number



x, y = tuple(list(map(int, input("Enter the two number to find the largest. ").split(' '))))
print(max(x,y))
        
             OR

x,y = input("Enter the two number to find the largest. ").split(" ")
x = int(x)
y = int(y)

if(x>y):
    print(x)
else:
    print(y)


Comments

Popular posts from this blog

Display Browser information using javascript

Understanding Activation Functions in Deep Learning and Machine Learning

Understanding the Differences between POST, PUT, and PATCH in REST APIs