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, ∼2827🔥, 0💬
Popular Posts:
How To Truncate an Array in PHP? If you want to remove a chunk of values from an array, you can use ...
How to add request URL Template Parameters to my Azure API operation 2017 version to make it more us...
Where Is the Submitted Form Data Stored in PHP? When a user submit a form on your Web server, user e...
What Happens If One Row Has Missing Columns? What happens if one row has missing columns? Most brows...
How to use "link" command tool to link objet files? If you have object files previously compiled by ...