What is printed? python def findmax(a, b): return a if a b else b print(findmax(12, 30))

  1. 12
  2. None
  3. 42
  4. 30
Answer

D) 30

The larger of 12 and 30 is 30. SLO CS-11-C-06

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