From 2b48bba949445b036d7305e5fd33025499211453 Mon Sep 17 00:00:00 2001 From: Margui Date: Tue, 10 Oct 2023 20:37:53 +0200 Subject: [PATCH] Fixing TD2 --- TD2-8_Make_ChangePrograms/prg6.py | 1 - TD2-8_Make_ChangePrograms/sol_4-6.txt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/TD2-8_Make_ChangePrograms/prg6.py b/TD2-8_Make_ChangePrograms/prg6.py index 7e980a7..dc2bd80 100644 --- a/TD2-8_Make_ChangePrograms/prg6.py +++ b/TD2-8_Make_ChangePrograms/prg6.py @@ -47,7 +47,6 @@ solution = calculate_change_combinations(L, A) with open("sol_4-6.txt", "w") as f: f.write(str(solution)) - f.write("\n") total_time_3 = time.perf_counter() - start diff --git a/TD2-8_Make_ChangePrograms/sol_4-6.txt b/TD2-8_Make_ChangePrograms/sol_4-6.txt index 60b0742..6c40416 100644 --- a/TD2-8_Make_ChangePrograms/sol_4-6.txt +++ b/TD2-8_Make_ChangePrograms/sol_4-6.txt @@ -1 +1 @@ -[] +[5, 5, 2, 0.2, 0.1, 0.05] \ No newline at end of file