What is printed? python print(2 3 2)

  1. 64
  2. 512
  3. 81
  4. 9
Answer

B) 512

is right-associative: 3 2 = 9, then 2 9 = 512. SLO CS-11-C-02

Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise