πŸ“Š Python
Q. What is the output of the following Python code: print(2 * 3 + 5)?
  • (A) 11
  • (B) 16
  • (C) 5
  • (D) 10
πŸ’¬ Discuss
βœ… Correct Answer: (A) 11

Explanation: In Python, the multiplication operator (*) has higher precedence than addition (+), so 2 * 3 = 6, and then 6 + 5 = 11.

Explanation by: Vijay Sangwan
In Python, the multiplication operator (*) has higher precedence than addition (+), so 2 * 3 = 6, and then 6 + 5 = 11.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
114
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Vijay Sangwan
Publisher
πŸ“ˆ
91%
Success Rate