Home / CSE MCQs / Python MCQs :: Discussion

Discussion :: Python MCQs

  1. What is the output of this expression, 3*1**3?
  2. A.
    27
    B.
    9
    C.
    3
    D.
    1

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    First this expression will solve 1**3 because exponential have higher precedence than multiplication, so 1**3 = 1 and 3*1 = 3. Final answer is 3.


Be The First To Comment