fix spaces

This commit is contained in:
Martin Quarda
2025-03-25 08:11:28 +01:00
parent cee41ca595
commit c441dc7a32
9 changed files with 112 additions and 119 deletions

View File

@@ -16,7 +16,7 @@ results = {}
with open(FILE,'r') as f:
file_content = f.read()
data_dict = json.loads(file_content)
for id in data_dict:
laps = int(data_dict[id]['laps'])
time = 0
@@ -26,12 +26,7 @@ for id in data_dict:
print(data_dict[id]['name'],time)
data_dict[id]['total_time'] = time
results[data_dict[id]['name']] = time
print(results)
dict(sorted(results.items(), key=lambda item: item[0]))
print(results)