← Quiz: Python Operators and Input: all 14 questions
Quiz: Python Operators and Input · Question 11 of 14
What does this print? (code)
What does this print?
print(2 + 3 * 4 ** 2)
- A.400
- B.80
- C.148
- D.50
Answer & explanation
Correct answer: 50
** runs first (4 ** 2 = 16), then * (3 * 16 = 48), then + (2 + 48 = 50).
Can you get the rest right without peeking?
Take the timed Quiz: Python Operators and Input quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →