Python newb here. Suppose you have a function like
def myfunc(a = "apple", *args):
print(a)
for b in args:
print(b + "!")
How do you pass a set of unnamed arguments to *args without altering the default argument?
What I want to do is
myfunc(,"banana", "orange")
and get the output
apple
banana!
orange!
but this doesn't work.
(I'm sure this has been discussed before but all my searching came up empty)