$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · medium · #204
What is the output?
print(*[1, 2, 3], sep='-')
[1, 2, 3]
1-2-3
1 2 3
-1-2-3
The star unpacks the list into three arguments, joined by the sep string.
Play Problem Solving ▸
◂ #203
all Problem Solving — predict the output questions
#205 ▸