In the code below I'm trying to print the keys and values of a list aligned, but I don't know why it doesn't work as expected!
for k, v in enumerate(time):
print(f'{k : >5}', end=' ')
for d in v.values():
print(f' {str(d): <17}', end='')
print()
The result on PyCharm is always the same as below:
----------------------------------------
0 Ronaldo [3, 3, 3] 9
1 Joe [3, 2] 5
2 Renato [3, 4, 2, 5, 6] 20
----------------------------------------*