Q. What is the output of `print(2 ** 3)`?

  • (A) 6
  • (B) 9
  • (C) 8
  • (D) 5
πŸ’¬ Discuss
βœ… Correct Answer: (C) 8
Explanation: `**` is the exponent operator in Python. So `2 ** 3 = 2 × 2 × 2 = 8`.
Explanation by: Rati Dubey
`**` is the exponent operator in Python. So `2 ** 3 = 2 × 2 × 2 = 8`.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
85
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
84%
Success Rate