round results

This commit is contained in:
Nicolás Sánchez 2024-12-08 21:12:24 -03:00
parent 3334aa662f
commit d0771ad490
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ if __name__=="__main__":
# print(item, round(result[item],2))
sorted_result = {key: value for key, value in sorted(result.items(),key=lambda item: item[1])}
for item in sorted_result:
print(item, sorted_result[item])
print(item, round(sorted_result[item],2))
input("Press ENTER to continue ")
elif command==17: