I found such syntax:
dota_teams = ["Liquid", "Virtus.pro", "PSG.LGD", "Team Secret"]
data = [[1, 2, 1, 'x'],
['x', 1, 1, 'x'],
[1, 'x', 0, 1],
[2, 0, 2, 1]]
format_row = "{:>12}" * (len(dota_teams) + 1)
print(format_row.format("", *dota_teams))
for team, row in zip(dota_teams, data):
print(format_row.format(team, *row))
I don't understand fully what "*" does here. (In .format() argument before "dota_teams" or "row") .
What is it responsible for in this syntax?