Check sibling questions

What does the following code do?

def a(b,c,d): pass

 

Answer:

The pass statement is a null operator. If the pass statement is executed, then the function does nothing.

Therefore, the given code does nothing.

Are ads bothering you?

CA Maninder Singh's photo - Expert in Practical Accounts, Taxation and Efiling

Made by

CA Maninder Singh

CA Maninder Singh is a Chartered Accountant for the past 12 years. He also provides Accounts Tax GST Training in Delhi, Kerala and online.