Computer Science, asked by shahissain, 1 year ago

write a Python coding to accept two numbers and print the minimum number​

Answers

Answered by LuckyYadav2578
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