I’m having trouble with unpacking a large number of variables from list of tuples. How can I make the unpacked variables span multiple lines?
I want to change
for t,a,f,b,s,x,j,p,w,q in results:
print(t,s,x)
to
for t,a,f,b,s,x,
j,p,w,q in results:
print(t,s,x)
>Solution :
Another option (with round brackets):
for (t, a, f, b, s, x,
j, p, w, q) in results:
print(t, s, x)