0
HOW THIS CODE WORKS
x=(1,2,3) print(*x,sep="1",end="3")
2 Respostas
+ 4
*x => unpacking tuple => 1 2 3
sep = "1" => separator of argument => 11213
end="3" => end argument of print() => 112133
+ 1
*x unpacks the tuple as: 1 2 3
sep is a separator filling the gap (space) between the numbers with `1`: 11213
end prints a `3` at last
Hence the output: 112133