0
What is the pass statement in Python?
def func(*args): pass
2 ответов
+ 5
You can use pass also in all situations, when a line of code is expected, but not jet ready. Can be used in:
if num < 10:
pass
else:
pass
or:
def compare(num1, num2):
pass
compare(3, 7)