Question 1 Control Flow Pass (No-Op)

Using the Pass Statement in Loops

Write a Python program to demonstrate the pass statement as a syntactic placeholder (no-op) inside a loop body where code is required syntactically but no execution is needed.

Solution Code Screenshot Click image to zoom
Pass Statement in Loop Solution
Question copied to clipboard!