"Minimum of two numbers : Given two integers, print the smaller value." - Python coding question

 

 


 

CODING QUESTION

Given two integers, print the smaller value.

 

SOLUTION

a = int(input())
b = int(input())
if a < b:
    print(a)
else:
    print(b)

 

Input : 

3

7

Output : 3