From eee45d7b84833326670af39135b1229edf91af85 Mon Sep 17 00:00:00 2001 From: Iondan587 Date: Wed, 1 Apr 2026 12:42:59 +0300 Subject: [PATCH 1/4] solution --- app/main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index f07695b9b..3daee1da2 100644 --- a/app/main.py +++ b/app/main.py @@ -16,4 +16,8 @@ } collection_of_coins = {1, 2, 25} -# write your code here +sorted_variables = { + "mutable": [list_of_students, student_info, collection_of_coins], + "immutable": [academy_name, number_of_students, average_mark, is_active, main_course] +} + From c121c36396aa24737f90e4ec0ecd69bc102b2782 Mon Sep 17 00:00:00 2001 From: Iondan587 Date: Wed, 1 Apr 2026 12:59:35 +0300 Subject: [PATCH 2/4] fix: correct logic for mutable and immutable types --- app/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index 3daee1da2..4f79e8050 100644 --- a/app/main.py +++ b/app/main.py @@ -17,7 +17,7 @@ collection_of_coins = {1, 2, 25} sorted_variables = { - "mutable": [list_of_students, student_info, collection_of_coins], - "immutable": [academy_name, number_of_students, average_mark, is_active, main_course] + "mutable": [my_favourite_films,profile_info,marks,collection_of_coins] + "immutable": [lucky_number,pi,one_is_a_prime_number,name] } From 16f807719af64e9ef941be6e884b8429b314d1db Mon Sep 17 00:00:00 2001 From: Iondan587 Date: Wed, 1 Apr 2026 13:04:49 +0300 Subject: [PATCH 3/4] solution --- app/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index 4f79e8050..90032e62e 100644 --- a/app/main.py +++ b/app/main.py @@ -17,7 +17,7 @@ collection_of_coins = {1, 2, 25} sorted_variables = { - "mutable": [my_favourite_films,profile_info,marks,collection_of_coins] - "immutable": [lucky_number,pi,one_is_a_prime_number,name] + "mutable": [my_favourite_films,marks,collection_of_coins] + "immutable": [lucky_number,pi,profile_info,one_is_a_prime_number,name] } From c36e7c6237dfd752eb554eea501bac809a748cda Mon Sep 17 00:00:00 2001 From: Iondan587 Date: Thu, 2 Apr 2026 12:40:27 +0300 Subject: [PATCH 4/4] solution 2 --- app/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index 90032e62e..e9252d6bb 100644 --- a/app/main.py +++ b/app/main.py @@ -19,5 +19,4 @@ sorted_variables = { "mutable": [my_favourite_films,marks,collection_of_coins] "immutable": [lucky_number,pi,profile_info,one_is_a_prime_number,name] -} - +} \ No newline at end of file