Q. Write instructions to the Interactive mode for the following:


(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)
83.0
>>>

(b)
>>> 16 + 5.0 + 44.0
65.0
>>>

Post a Comment

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

Previous Post Next Post