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.

 

2 Comments

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

  1. Thx so much you help me understand things I cant from other websites!

    ReplyDelete

Post a Comment

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

Previous Post Next Post