Q. What is the output of the expression : 3*1**3
β
Correct Answer: (C)
3
Explanation: ** 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.