Which keyword can be used in any place in Python code to tell interpreter “to do nothing” and move to next instruction
Explanation
Pass keyword is used to tell Python “do nothing here”. It is a placeholder used in cases when some code is necessary to be written but no code needs to be executed (like inside of an if-else blocks).

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
Python quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes