What is the output? python for x in ['Computer', 'English', 'Physics', 'Maths']: if x == 'Physics': break print(x, end=' ')
- Computer English
- Physics Maths
- Computer English Physics
- Computer English Maths
Answer
A) Computer English
break exits the loop as soon as x is 'Physics', before printing it. SLO CS-11-C-02 · Application
Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise