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, ∼1997🔥, 0💬
Popular Posts:
How To Protect Special Characters in Query String in PHP? If you want to include special characters ...
What is the "__init__()" class method? The "__init__()" class method is a special method that will b...
How To Create an Array with a Sequence of Integers or Characters in PHP? The quickest way to create ...
How To Read Data from Keyboard (Standard Input) in PHP? If you want to read data from the standard i...
How to start Visual Studio Command Prompt? I have Visual Studio 2017 Community version with Visual C...