Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solution #2039

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Solution #2039

wants to merge 7 commits into from

Conversation

viktoriaom
Copy link

No description provided.

Copy link

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

Choose a reason for hiding this comment

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


Thank you for your effort on this task! 😊 However, there are a couple of critical issues that need to be addressed before we can approve your pull request:

  1. Incorrect Categorization of marks: The marks dictionary is currently listed under both "mutable" and "immutable". Since dictionaries are mutable, it should only be included in the "mutable" list.

  2. Misclassification of collection_of_coins: The variable collection_of_coins, which is a set, is incorrectly categorized under "immutable". Sets are mutable and should be listed under "mutable".

Please make these corrections to ensure that the categorization of variables aligns with their mutability. Once these changes are made, your solution will meet the task requirements. Keep up the great work, and don't hesitate to reach out if you have any questions! 🚀

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

🔄 Fix the issues, commit the changes, and then re-request my review using the Re-request review button in the Reviewers tab.

app/main.py Outdated
Comment on lines 20 to 21
"mutable": [my_favourite_films, marks],
"immutable": [lucky_number, pi, one_is_a_prime_number, name, marks, collection_of_coins]

Choose a reason for hiding this comment

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

The marks dictionary is included in both the 'mutable' and 'immutable' lists. Dictionaries are mutable, so it should only be in the 'mutable' list. Remove marks from the 'immutable' list.

Copy link

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

Choose a reason for hiding this comment

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

Great job on addressing the issues! 🎉 Your solution now correctly categorizes the marks dictionary and collection_of_coins set as mutable, aligning with the task requirements. This is a crucial step in understanding data types and their properties. While the code meets the current task requirements, always remember to review and refine your code based on feedback. This will help you improve and avoid similar issues in the future. Keep up the good work and continue learning from each experience! 🚀

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

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