Explain the use of pass statement. Illustrate it with an example.

pass is a null statement when executed by python interpreter returns nothing.

for example we have a loop in our program and we want to implement it in future, so we construct it using pass statement.

L = [1,2,3,4,6,7]
for i in L:
    pass

error: Content is protected !!