-
Notifications
You must be signed in to change notification settings - Fork 162
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
umutcan homework02 types and sequences #140
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.
Your file must be in Week02
, not in Week02/hw
. That folder is for me to move accepted homework files.
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 name of the last function must be reverse_dict
and also remove the print usage from your codes.
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.
I have marked the errors that you have in your code.
Week02/sequences_umutcan_turk.py
Outdated
"headset":120 | ||
} | ||
|
||
def remove_duplicates(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.
Here you get the wrong parameter
Week02/sequences_umutcan_turk.py
Outdated
|
||
def remove_duplicates(list): | ||
new_list = [] | ||
for key in my_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.
Therefore here you check the wrong sequence
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.
There is one more thing that I need you to fix, I have mentioned below.
Week02/sequences_umutcan_turk.py
Outdated
"headset":120 | ||
} | ||
|
||
def remove_duplicates(listParam): |
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.
This is ok but I need you to follow the conventions about variable names.
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.
💯
Describe your changes
Checklist
-[ X] I have performed a self-review of my own code
-[ X] I have run the code locally and it works as expected
Screenshots (if appropriate)