write a Python coding to accept two numbers and print the minimum number
Answers
Answered by
5
a = int ( input ( " enter first number " ) )
b = int ( input ( " enter second number " ) )
if ( a > b ) :
_____ print ( " minimum number is " , a)
else :
_____ print ( " minimum number is ", b )
Another way without using else
a = int ( input ( " enter first number " ) )
b = int ( input ( " enter second number " ) )
c = b
if ( a > b ) :
_____ c = a
print ( " minimum number is " , c)
Similar questions
Math,
6 months ago
English,
6 months ago
Computer Science,
11 months ago
Social Sciences,
11 months ago
Math,
1 year ago
Math,
1 year ago