0

How to do the double string assignment

cannot get it to work

23rd Jul 2019, 5:14 PM
aaku
3 Respostas
+ 7
is it this what you mean: a, b = 'hello', 'world' print(a, b)
23rd Jul 2019, 5:53 PM
Lothar
Lothar - avatar
+ 2
ya thanks I got it
23rd Jul 2019, 5:55 PM
aaku
+ 1
Something like this? x,y="thing1","thing2" print(f"x={x} and y={y}")
23rd Jul 2019, 5:54 PM
Steven M
Steven M - avatar