πŸ“Š Python
Q. What will be the output of `print(2 ** 3 ** 2)`?
  • (A) 64
  • (B) 512
  • (C) 256
  • (D) 36
πŸ’¬ Discuss
βœ… Correct Answer: (B) 512

Explanation: Python evaluates right to left for exponentiation: 3 ** 2 = 9, then 2 ** 9 = 512.

Explanation by: Mr. Dubey
Python evaluates right to left for exponentiation: 3 ** 2 = 9, then 2 ** 9 = 512.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
67
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate