I've pass by some variables while documenting myself for animation with matplotlib which are written like this ln, = plt.plot([], [], 'ro', animated=True)
or return ln,
, and I don't understand what the comma stands for...
It's probably related to tuple but I don't understand how, as the comma is supposed to be after the value and not the variable like i = 1,
Thanks in advance for any clarification,
EDIT: From the response suggested in comment by @Goralight.
In Python, it's the comma that makes something a tuple:
>>> 1
1
>>> 1,
(1,)
The parenthesis are optional in most locations.