From d0771ad49083cd67b82e022fba5689f5b9b28623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20S=C3=A1nchez?= Date: Sun, 8 Dec 2024 21:12:24 -0300 Subject: [PATCH] round results --- utils/commander.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/commander.py b/utils/commander.py index 6c8e13c..c5f5ab5 100644 --- a/utils/commander.py +++ b/utils/commander.py @@ -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: