1.

What is a statement ? What is the significance of an empty statement ?

Answer»

A statement is an instruction given to the computer to perform any kind of action. An empty statement is useful in situations where the code requires a statement but does not require logic. To fill these two requirements simultaneously, an empty statement is used. Python offers a‘pass’ statement as an empty statement.



Discussion

No Comment Found