How to use pass to create empty statement
Empty statement
The pass statement is just a placeholder saying I am doing nothing.
def foo_func():
pass
or
if user_choice == 'do_calc':
pass
else:
pass
The pass statement is just a placeholder saying I am doing nothing.
def foo_func():
pass
or
if user_choice == 'do_calc':
pass
else:
pass