Q. What will be the output, if input for both the statements is 5+4/2?

 

6 == input ("Value 1 :")

6 == int(input ("value 2:"))

 

Answer =

It will give error, because in second line int function cannot convert given input in integer form.

 

3 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post