in Python by (31.7k points)
What Is The Difference Between Pass And Continue In Python?

1 Answer

0 votes
by (32.2k points)

The continue statement makes the loop to resume from the next iteration.

On the contrary, the pass statement instructs to do nothing, and the remainder of the code executes as usual.

Related questions

0 votes
asked Oct 11, 2021 in Python by rajeshsharma (23.9k points)
+1 vote
asked Feb 15, 2021 in Python by SakshiSharma (32.2k points)
0 votes
0 votes
0 votes
asked Jun 28, 2020 in Python by Robindeniel (20.8k points)
...