Can someone explain to me why when I'm trying to pass unpacked data into print function using asterisk, the optional argument "end" is applied only for the last list's element, and for the rest is default (space)
l = ['a', 'b', 'c']
print(*l, end='-')
I expected a-b-c-
instead of a b c-