Im not to sure if there is any significance to the comma with only one variable, it can be used with multiple variables to allow neat things like
x, y = y, x
which swaps the value of x and y (the comma seperating the variables).
Posting code will genrelly work a lot nicer if you post to something like gist, which perserves stuff like formatting, provides syntax hightlighting which for this piece of code wasnt too relevent.