#Example - Pass statement
print("--------->.#Example - Pass statement")
print(" ")
# pass is just a placeholder for
# we will adde functionality later.
values = {'P', 'y', 't', 'h','o','n'}
for val in values:
pass
print("============================")
#Example2 -
print("--------->.#Example2 -")
print(" ")
for i in [1,2,3,4,5]:
if(i==4):
pass
print("This is pass block",i)
print(i)
print("============================")
#Example - We can create empty class or function using the pass statement.
print("--------->.#Example - We can create empty class or function using the pass statement.t")
print(" ")
# Empty Function
def function_name(args):
pass
#Empty Class
class Python:
pass
print("--------->.#Example - Pass statement")
print(" ")
# pass is just a placeholder for
# we will adde functionality later.
values = {'P', 'y', 't', 'h','o','n'}
for val in values:
pass
print("============================")
#Example2 -
print("--------->.#Example2 -")
print(" ")
for i in [1,2,3,4,5]:
if(i==4):
pass
print("This is pass block",i)
print(i)
print("============================")
#Example - We can create empty class or function using the pass statement.
print("--------->.#Example - We can create empty class or function using the pass statement.t")
print(" ")
# Empty Function
def function_name(args):
pass
#Empty Class
class Python:
pass
--------->.#Example - Pass statement
============================
--------->.#Example2 -
1
2
3
This is pass block 4
4
5
============================
--------->.#Example - We can create empty class or function using the pass statement.t