Question: is empty function in python?
Answer: An empty function is a function that does not contain any statement within its body. ... See the output – there is no statement in the definition part of the function myfunc(), so python compiler considers the next statement (which is a “print” statement in this program) as a statement of the function definition.