Tools, FAQ, Tutorials:
'pass' - Do Nothing Statements
How to use the "pass" statement in Python code?
✍: FYIcenter.com
The "pass" statement can be used as a place holder statement any where in Python code.
When a "pass" statement is interpreted, Python will do nothing and continue with next statement.
For example, the following Python code shows an empty function with a "pass" statement:
>>> def doNothing(): ... pass ... >>> doNothing()
⇒ Defining Functions in Python
⇐ 'continue' Statement in Repeating Statement Blocks
2017-09-12, ∼1926🔥, 0💬
Popular Posts:
How to create a "Sign-up or Sign-in" user flow policy in my Azure AD B2C directory? If you want to b...
How to use the "set-backend-service" Policy Statement for an Azure API service operation? The "set-b...
Where to get the detailed description of the json_encode() Function in PHP? Here is the detailed des...
Can Two Forms Be Nested? Can two forms be nested? The answer is no and yes: No. You can not nest two...
Can Two Forms Be Nested? Can two forms be nested? The answer is no and yes: No. You can not nest two...