Computer Science, asked by xxy43, 1 year ago

what is empty statement what is its need in python

Answers

Answered by tapatidolai
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 efgh84509
1

hope this helps you.......

Attachments:
Similar questions