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, 1357🔥, 0💬
Popular Posts:
What Azure AD App Registration Manifest? Azure AD App Registration Manifest is JSON file that contai...
How To Get the Minimum or Maximum Value of an Array in PHP? If you want to get the minimum or maximu...
How to detect errors occurred in the json_decode() call? You can use the following two functions to ...
Where to find tutorials on PHP language? I want to know how to learn PHP. Here is a large collection...
Where Is the Submitted Form Data Stored in PHP? When a user submit a form on your Web server, user e...