Computer Science, asked by sanjanachakalabbi, 7 months ago

give empty statement (python programming language)​

Answers

Answered by patelhetalv20
2

Answer:

your answer is here

Explanation:

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.

...

In empty if/else statements:

# Empty in if/else in Python.

condition = True.

if (condition == True) :

pass.

else:

print("False")

Similar questions