what does pass in python do code example
Example 1: what does int do in python
#basically turns a string or a float into a number aka a integer
num = int("147")
Example 2: what does isalpha do in python
The isalpha() method returns True if all the characters are alphabet letters (a-z).
Example 3: Python Pass
if(condition): (if this condtion is true)
pass (do not performance any operation)
else:
Statements (So only else will execute when condition false)
Example 4: python pass
def example(): #This would produce a error if we left it.
def example2(): # This would not produce a error
pass
Example 5: pass python
Is a null statement for classes and functions