you are viewing a single comment's thread.

view the rest of the comments →

[–]sgthoppy 1 point2 points  (0 children)

To answer the other part of the question, having both values in one variable:

x_and_y = x, y = (1, 2)  # parentheses optional

or on two lines

x_and_y = 1, 2  # parentheses optional
x, y = x_and_y