From 8c58bd624605103951d65172708ff22968133158 Mon Sep 17 00:00:00 2001 From: Chip Date: Fri, 14 Aug 2026 16:33:14 -0400 Subject: [PATCH 1/4] added mutable-immutable solution code --- app/main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index f07695b9b..3057cf9d5 100644 --- a/app/main.py +++ b/app/main.py @@ -16,4 +16,7 @@ } collection_of_coins = {1, 2, 25} -# write your code here +sorted_variables = {"mutable": [my_favourite_films, collection_of_coins, marks], + "immutable": [lucky_number, pi, one_is_a_prime_number, name, profile_info]} + + From 1a01289dad506250cd78ab9789ea25152258c2e0 Mon Sep 17 00:00:00 2001 From: Chip Date: Fri, 14 Aug 2026 16:39:37 -0400 Subject: [PATCH 2/4] modified solution --- app/main.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index 3057cf9d5..deb4d9894 100644 --- a/app/main.py +++ b/app/main.py @@ -16,7 +16,15 @@ } collection_of_coins = {1, 2, 25} -sorted_variables = {"mutable": [my_favourite_films, collection_of_coins, marks], - "immutable": [lucky_number, pi, one_is_a_prime_number, name, profile_info]} +sorted_variables = { + "mutable": [my_favourite_films, collection_of_coins, marks], + "immutable": [ + lucky_number, + pi, + one_is_a_prime_number, + name, + profile_info, + ], +} From ab76c57207ea4c3f020e677e600d944c91b13480 Mon Sep 17 00:00:00 2001 From: Chip Date: Fri, 14 Aug 2026 16:54:44 -0400 Subject: [PATCH 3/4] removed trailing whitespace and extra blank line. --- app/main.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/app/main.py b/app/main.py index deb4d9894..833d60169 100644 --- a/app/main.py +++ b/app/main.py @@ -17,14 +17,12 @@ collection_of_coins = {1, 2, 25} sorted_variables = { - "mutable": [my_favourite_films, collection_of_coins, marks], + "mutable": [my_favourite_films, collection_of_coins, marks], "immutable": [ - lucky_number, - pi, - one_is_a_prime_number, - name, + lucky_number, + pi, + one_is_a_prime_number, + name, profile_info, ], -} - - +} \ No newline at end of file From 14f9906557fd53d8b6b1426bc838a468f1f2662e Mon Sep 17 00:00:00 2001 From: Chip Date: Fri, 14 Aug 2026 16:57:44 -0400 Subject: [PATCH 4/4] add an empty line at end of file. --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 833d60169..d5f4c774c 100644 --- a/app/main.py +++ b/app/main.py @@ -25,4 +25,4 @@ name, profile_info, ], -} \ No newline at end of file +}