Skip to content

Commit 38c9f30

Browse files
committed
solution
1 parent 86e4f5c commit 38c9f30

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

app/main.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,30 @@
11
lucky_number = 777
2+
23
pi = 3.14
4+
35
one_is_a_prime_number = False
6+
47
name = "Richard"
8+
59
my_favourite_films = [
610
"The Shawshank Redemption",
711
"The Lord of the Rings: The Return of the King",
812
"Pulp Fiction",
913
"The Good, the Bad and the Ugly",
1014
"The Matrix",
1115
]
16+
1217
profile_info = ("michel", "michel@gmail.com", "12345678")
18+
1319
marks = {
1420
"John": 4,
1521
"Sergio": 3,
1622
}
23+
1724
collection_of_coins = {1, 2, 25}
1825

19-
# write your code here
26+
# noinspection PyUnresolvedReferences
27+
sorted_variables = {
28+
"mutable": [my_favourite_films, marks, collection_of_coins],
29+
"immutable": [lucky_number, pi, one_is_a_prime_number, name, profile_info]
30+
}

tests/test_main.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
import app.main
55

6-
76
@pytest.mark.parametrize(
87
"variable_name",
98
[

0 commit comments

Comments
 (0)