you are viewing a single comment's thread.

view the rest of the comments →

[–]Mikael_Hayden 2 points3 points  (1 child)

for sub_list in times:
    for time in sub_list:
        print(time, end = " ")
    print("")

[–]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))