1. Home
  2. Data Science
  3. Python
  4. What is the result of the expression 3 + 2 * 4?

Added 5 Feb 2024

What is the result of the expression 3 + 2 * 4?

  1. 20
  2. 15
  3. 11 Correct answer
  4. 14

Correct answer

C. 11

14 views

MCQSEXAM

Explanation

Python follows operator precedence: multiplication is evaluated before addition. So 3 + 2 * 4 = 3 + 8 = 11.

Reference

https://www.w3schools.com/python/python_datatypes.asp

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs