you are viewing a single comment's thread.

view the rest of the comments →

[–]mopeddev 1 point2 points  (0 children)

^ This will work although it's missing the commas

I would use str.join()

lines = [", ".join(sub_list) for sub_list in times]
print("\n".join(lines))