Q. Write Python statement for the following in interactive mode:

(a) To display sum of 3, 8.0, 6*12

(b) To print sum of 16, 5.0, 44.0


Answer =

(a) 3 + 8.0 + 6 * 12
(b) print (16 + 5.0 + 44.0)

4 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