Nov-23-2019, 01:09 AM
With the parameter's name:
def foo(bar, spam = 'spam', eggs = 'eggs'): print("I'll have {} with {} and {}.".format(bar, spam, eggs)) foo('pizza', eggs = 'huevos')
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures