What is the output? python for n in range(1, 6): if n % 2 == 0: continue print(n, end=' ')

  1. 1 2 3 4 5
  2. 2 4
  3. 1 3 5
  4. 1
Answer

C) 1 3 5

continue skips the rest of the loop body for even numbers. SLO CS-11-C-02 · Application

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