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
English,
6 months ago
Computer Science,
1 year ago
Social Sciences,
1 year ago
Math,
1 year ago
Math,
1 year ago