What do break, continue and pass do?
Model answer
break exits the loop. continue skips to the next iteration. pass does nothing and is a placeholder where a statement is required, such as an empty function body.
Learn this topic
Functions in Python: def, Arguments and return in the course Python for Beginners: Learn to Code with Real Projects.
Sign in to add your own answer.