Statement: pass : Pass « Language Basics « Python






Statement: pass

Statement: pass

# The pass statement does nothing. 
# It can be used when a statement is required syntactically but the program 
# requires no action. For example:

while True:
       pass # Busy-wait for keyboard interrupt

           
       








Related examples in the same category