[ad_1]
Apply a default value to the ListNum argument:
def multiply (ListNum = None):
if ListNum is None:
print 'You forgot something...'
4
[ad_2]
solved Python function define: A message will prompt up if missing entering an argument
[ad_1]
Apply a default value to the ListNum argument:
def multiply (ListNum = None):
if ListNum is None:
print 'You forgot something...'
4
[ad_2]
solved Python function define: A message will prompt up if missing entering an argument