πŸ“Š Python
Q. What is the output of the expression : 3*1**3
  • (A) 27
  • (B) 9
  • (C) 3
  • (D) 1
πŸ’¬ Discuss
βœ… 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.

Explanation by: Mr. Dubey
** 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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
464
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
85%
Success Rate