Exam (elaborations)
PYTHON PRACTICE QUESTIONS This set of Python Multiple Choice Questions & Answers (MCQs) focuses on “While and For Loops”. What is the output of the following? i = 1 while True: if i%3 == 0: break print(i) i += 1 a) 1 2 b) 1 2 3 c) error d) none of the
- Course
- Institution
PYTHON PRACTICE QUESTIONS This set of Python Multiple Choice Questions & Answers (MCQs) focuses on “While and For Loops”. What is the output of the following? i = 1 while True: if i%3 == 0: break print(i) i += 1 a) 1 2 b) 1 2 3 c) error d) none of the mentioned What is the outpu...
[Show more]