[O] Optimize print flag
This commit is contained in:
parent
fed771d930
commit
3b2fb773d3
1 changed files with 2 additions and 2 deletions
|
@ -131,8 +131,8 @@ def create_config() -> Config:
|
|||
flags = flags[flags_per_row:]
|
||||
|
||||
# Print by row
|
||||
for line in range(len(current[0])):
|
||||
printc(' '.join(flag[line] for flag in current))
|
||||
for line in zip(*current):
|
||||
printc(' '.join(line))
|
||||
|
||||
print()
|
||||
|
||||
|
|
Loading…
Reference in a new issue