Python pass statement
In this article, you will learn the vocabulary. Used as a space for future activities, circles, etc.
Table of Contents
- What is pass statement in Python?
- Syntax of pass
- Example: pass Statement
What is pass statement in python?
Python program survived the confession of the message. The difference between the evidence points and the passage of Python, although the translation completely ignored comments, escaped without blindness.
However, nothing happened when it was approved. This has resulted in not being operated (NOP).
Syntax:
pass
In general, we can use space.
Let us know that we have a lot of work or work yet, but we want to implement it in the future. They cannot be empty. The interpreter is complaining. Therefore, use the last training to build your body.
Examples: Pass Statement
# pass
is just a placeholder for
#
functionality to be added later.
sequence
= {'p', 'a', 's', 's'}
for
val in sequence:
pass
We can also do a balanced work or classroom.
def function(args):
pass
class example:
pass
Comments
Post a Comment