1if(condition): (if this condtion is true)
2 pass (do not performance any operation)
3else:
4 Statements (So only else will execute when condition false)
1def example(): #This would produce a error if we left it.
2
3def example2(): # This would not produce a error
4 pass
1# Pass it's used when need have something to fill something an not implemented
2# function...
3def notImplementedFunction():
4 pass
1# pass in python is basically a placeholder thing to put in empty functions/classes
2# example
3
4def whatever():
5 pass
6
7class whatever():
8 pass