From f91d059a6a3f0eff2d4d62a5dfe7038e5ee2ee15 Mon Sep 17 00:00:00 2001 From: milokc <64037418+milokc@users.noreply.github.com> Date: Wed, 10 Jun 2026 15:18:31 +0300 Subject: [PATCH 1/7] Update main.py deleted write your code here --- app/main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/main.py b/app/main.py index f07695b9b..1e1a88e77 100644 --- a/app/main.py +++ b/app/main.py @@ -15,5 +15,3 @@ "Sergio": 3, } collection_of_coins = {1, 2, 25} - -# write your code here From 7d5b0c4dcf460b7ddab74f5a5eba5faa579aa406 Mon Sep 17 00:00:00 2001 From: milokc <64037418+milokc@users.noreply.github.com> Date: Wed, 10 Jun 2026 15:50:21 +0300 Subject: [PATCH 2/7] Update main.py task complete --- app/main.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/app/main.py b/app/main.py index 1e1a88e77..956828169 100644 --- a/app/main.py +++ b/app/main.py @@ -15,3 +15,16 @@ "Sergio": 3, } collection_of_coins = {1, 2, 25} + +a = 123 +b = {"Bob": 1} +c = "Hi!" +d = [1, 2] +e = 1.23 +f = True +g = (1, 2) + +sorted_variables = { + "mutable": [b, d], + "immutable": [a, c, e, f, g] +} From 77c5a239ccf7cc58f9468a88313214eeef84c560 Mon Sep 17 00:00:00 2001 From: milokc <64037418+milokc@users.noreply.github.com> Date: Wed, 10 Jun 2026 15:56:06 +0300 Subject: [PATCH 3/7] Update main.py added set --- app/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 956828169..fe8ff888c 100644 --- a/app/main.py +++ b/app/main.py @@ -23,8 +23,9 @@ e = 1.23 f = True g = (1, 2) +h = {1, 2} sorted_variables = { - "mutable": [b, d], + "mutable": [b, d, h], "immutable": [a, c, e, f, g] } From 68ef6d1f88da9d5d168a80734ab9f67c422d271c Mon Sep 17 00:00:00 2001 From: milokc <64037418+milokc@users.noreply.github.com> Date: Wed, 10 Jun 2026 16:07:48 +0300 Subject: [PATCH 4/7] Update main.py changed names of variable --- app/main.py | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/app/main.py b/app/main.py index fe8ff888c..923b5bc61 100644 --- a/app/main.py +++ b/app/main.py @@ -16,16 +16,18 @@ } collection_of_coins = {1, 2, 25} -a = 123 -b = {"Bob": 1} -c = "Hi!" -d = [1, 2] -e = 1.23 -f = True -g = (1, 2) -h = {1, 2} +#immutable +int_variable = 123 +str_variable = "Hi!" +float_variable = 1.23 +bool_variable = True +tuple_variable = (1, 2) +#mutable +set_variable = {1, 2} +dict_variable = {"Bob": 1} +list_variable = [1, 2] sorted_variables = { - "mutable": [b, d, h], - "immutable": [a, c, e, f, g] + "mutable": [set_variable, dict_variable, list_variable], + "immutable": [int_variable, str_variable, float_variable, bool_variable, tuple_variable] } From 466b6154b84a88934f30dc957a9403b5c3bd36f7 Mon Sep 17 00:00:00 2001 From: milokc <64037418+milokc@users.noreply.github.com> Date: Wed, 10 Jun 2026 16:11:32 +0300 Subject: [PATCH 5/7] Update main.py fixed line length and comments --- app/main.py | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/app/main.py b/app/main.py index 923b5bc61..5b5f6789c 100644 --- a/app/main.py +++ b/app/main.py @@ -16,18 +16,28 @@ } collection_of_coins = {1, 2, 25} -#immutable +# immutable int_variable = 123 str_variable = "Hi!" float_variable = 1.23 bool_variable = True tuple_variable = (1, 2) -#mutable +# mutable set_variable = {1, 2} dict_variable = {"Bob": 1} list_variable = [1, 2] sorted_variables = { - "mutable": [set_variable, dict_variable, list_variable], - "immutable": [int_variable, str_variable, float_variable, bool_variable, tuple_variable] + "mutable": [ + set_variable, + dict_variable, + list_variable + ], + "immutable": [ + int_variable, + str_variable, + float_variable, + bool_variable, + tuple_variable + ] } From db5dc8ad801d9126f992375e6eaa009238346ab6 Mon Sep 17 00:00:00 2001 From: milokc <64037418+milokc@users.noreply.github.com> Date: Wed, 10 Jun 2026 16:13:19 +0300 Subject: [PATCH 6/7] Update main.py spaces --- app/main.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/main.py b/app/main.py index 5b5f6789c..1deabee74 100644 --- a/app/main.py +++ b/app/main.py @@ -29,15 +29,15 @@ sorted_variables = { "mutable": [ - set_variable, - dict_variable, + set_variable, + dict_variable, list_variable ], "immutable": [ - int_variable, - str_variable, - float_variable, - bool_variable, + int_variable, + str_variable, + float_variable, + bool_variable, tuple_variable ] } From 933de5f9187dcd55a54f7e074820059be1bc984b Mon Sep 17 00:00:00 2001 From: milokc <64037418+milokc@users.noreply.github.com> Date: Wed, 10 Jun 2026 16:25:41 +0300 Subject: [PATCH 7/7] Update main.py finally got what to do --- app/main.py | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/app/main.py b/app/main.py index 1deabee74..75c87dacd 100644 --- a/app/main.py +++ b/app/main.py @@ -16,28 +16,17 @@ } collection_of_coins = {1, 2, 25} -# immutable -int_variable = 123 -str_variable = "Hi!" -float_variable = 1.23 -bool_variable = True -tuple_variable = (1, 2) -# mutable -set_variable = {1, 2} -dict_variable = {"Bob": 1} -list_variable = [1, 2] - sorted_variables = { "mutable": [ - set_variable, - dict_variable, - list_variable + marks, + collection_of_coins, + my_favourite_films ], "immutable": [ - int_variable, - str_variable, - float_variable, - bool_variable, - tuple_variable + lucky_number, + name, + pi, + one_is_a_prime_number, + profile_info, ] }