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, ∼2098🔥, 0💬
Popular Posts:
How to use "link" command tool to link objet files? If you have object files previously compiled by ...
How to use the RSS Online Validator at w3.org? You can follow this tutorial to learn how to use the ...
Where to get a JSON.stringify() Example Code in JavaScript? Here is a good JSON.stringify() example ...
What properties and functions are supported on http.client.HTTPResponse objects? If you get an http....
dev.FYIcenter.com is a Website for software developer looking for software development technologies,...