lulus ular surut
# Pass it's used when need have something to fill something an not implemented
# function...
def notImplementedFunction():
pass
Stormy Swiftlet
# Pass it's used when need have something to fill something an not implemented
# function...
def notImplementedFunction():
pass
# pass in python is basically a placeholder thing to put in empty functions/classes
# example
def whatever():
pass
class whatever():
pass
Is a null statement for classes and functions
#Pass is plug for your for your constructions
#You can use it to get rid of the compiler error about empty constructions
def SomeFunction():
pass
#this function do nothing
def myEmptyFunc():
# do nothing
pass
myEmptyFunc() # nothing happens
## Without the pass keyword
# File "<stdin>", line 3
# IndentationError: expected an indented block