Skip to content

mutable immutable#3595

Closed
Julie630-art wants to merge 9 commits into
mate-academy:masterfrom
Julie630-art:master
Closed

mutable immutable#3595
Julie630-art wants to merge 9 commits into
mate-academy:masterfrom
Julie630-art:master

Conversation

@Julie630-art

Copy link
Copy Markdown

No description provided.

@Julie630-art Julie630-art left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

everything fixed

@Julie630-art Julie630-art left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bugs fixed

Comment thread app/main.py

sorted_variables["mutable"].append(marks)
sorted_variables["mutable"].append(collection_of_coins)
sorted_variables["mutable"].append(my_favourite_films)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of initializing empty lists and using multiple append() calls, consider creating the dictionary with the values directly. It is more concise and easier to read

@Julie630-art Julie630-art closed this by deleting the head repository Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants