More commonly we refer to multiple arguments by passing in a specific name; args.
Feel free to play around with function inputs. Understanding the print statements here is important.
def function(a, b, *args):
print(a, b)
print(args)
args kwargs: args
More commonly we refer to multiple arguments by passing in a specific name; args.
Feel free to play around with function inputs. Understanding the print statements here is important.
def function(a, b, *args):
print(a, b)
print(args)