-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
base: master
Are you sure you want to change the base?
Solution #2039
Conversation
There was a problem hiding this 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:
-
Incorrect Categorization of
marks
: Themarks
dictionary is currently listed under both"mutable"
and"immutable"
. Since dictionaries are mutable, it should only be included in the"mutable"
list. -
Misclassification of
collection_of_coins
: The variablecollection_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
"mutable": [my_favourite_films, marks], | ||
"immutable": [lucky_number, pi, one_is_a_prime_number, name, marks, collection_of_coins] |
There was a problem hiding this comment.
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.
There was a problem hiding this 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! ✨
No description provided.