0

Anyone explained this

Y,x = "13",y,z = "24" print(y+x+z)

10th Oct 2020, 12:49 PM
Rahul Kerani
Rahul Kerani - avatar
2 Réponses
+ 3
strings are just arrays of characters. you can assign multiple variables to multiple values as long as the amount of variables to values match. So... Y = 1 x = 3 y = 2 z = 4 * They are still all strings so... y+x+z == 234 (NOT 9)
10th Oct 2020, 12:52 PM
Slick
Slick - avatar
+ 1
Thank you slick
10th Oct 2020, 12:56 PM
Rahul Kerani
Rahul Kerani - avatar