what is empty statement what is its need in python
Answers
Answered by
17
Answer:
In Python, to write empty functions/statements, we use 'pass' statement. It really does nothing. It can be used to avoid compile errors while writing an empty function. You can also use the 'pass' statement in loops.
Answered by
1
hope this helps you.......
Attachments:

Similar questions
Social Sciences,
8 months ago
Social Sciences,
8 months ago
History,
8 months ago
Math,
1 year ago
World Languages,
1 year ago
Economy,
1 year ago