Computer Science

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]

Python Tuples

1 Like

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

Answered By

1 Like


Related Questions