Skip to content

added implementation for sorted_variables() function - #3762

Open
olena-nosenko wants to merge 1 commit into
mate-academy:masterfrom
olena-nosenko:feature/mutable-immutable
Open

added implementation for sorted_variables() function#3762
olena-nosenko wants to merge 1 commit into
mate-academy:masterfrom
olena-nosenko:feature/mutable-immutable

Conversation

@olena-nosenko

Copy link
Copy Markdown

Added implementation for sorted_variables() function via creating dictionary sorted_variables with two keys: "mutable" and "immutable".

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review Summary

Your solution is approved. The code correctly implements all requirements by properly categorizing all 8 variables into the correct mutable/immutable groups. The dictionary structure with "mutable" and "immutable" keys is exactly as specified, with all mutable types (list, dict, set) grouped together and all immutable types (int, float, bool, str, tuple) grouped together. Great work on getting the categorization right!


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

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