A

Admin • 833.24K Points
Coach

Q. What is the output of the expression : 3*1**3

  • (A) 27
  • (B) 9
  • (C) 3
  • (D) 1
  • Correct Answer - Option(C)
  • Views: 26
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

** is short form of power.
In python ** is precedence over *(multiplication) so first ** will be solved.

= 3*(1**3)
= 3*1
= 3

Hence option C is correct.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.