I saw some weird printout when I had a variable followed by a comma and I was wondering what the Python interpreter really does when it encounters it.
def new_func():
    x = 1
    y = 2
    return x,y
x = 0
x,
y = new_func()
print(x,y)
Output: 0 (1,2)
So what exactly was printed? How did Python handle x,↵? What can I use this for?
 
     
    