Post

@PythonPr [1].
After first iteration of if inside the for loop, there comes break statement, therefore, one iteration is completed printing [1]
English

@PythonPr The output is B. [1] because the loop skips even numbers using continue and adds the first odd number (1) to the list before stopping with break. Can you see how break affects the loop's flow? It’s a neat way to control which elements get processed!"
English





















