What is printed? python marks = 72 if marks = 80: print('A') elif marks = 70: print('B') else: print('C')
- B
- C
- B and C
- A
Answer
A) B
72 is not ≥ 80 but is ≥ 70, so the elif branch runs; later branches are skipped. SLO CS-11-C-02 · Application
Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise