CBSE Class 12 Computer Science Question 29 of 105

Python Revision Tour II — Question 8

Back to all questions
8
Question

Question 8

What is the value of the following expression ?
3 + 3.00, 3**3.0

  1. (6.0, 27.0)
  2. (6.0, 9.00)
  3. (6, 27)
  4. [6.0, 27.0]
  5. [6, 27]
Answer

(6.0, 27.0)

Reason — The value of expression is in round brackets because it is tuple.
3 + 3.00 = 6.0
3**3.0 = 3 x 3 x 3 = 27.0