Answer the question
In order to leave comments, you need to log in
How does print(*x + y) work?
Good afternoon!
Studying Lutz and experimenting on his advice, including unpacking through an asterisk, I discovered a strange construction, and I don’t quite understand how it works and why?
Namely:
x = (1, 2, 3)
y = (4, 5, 6)
print(*x + y)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question