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

umutcan homework02 types and sequences #140

Merged
merged 7 commits into from
Oct 17, 2023
Merged

umutcan homework02 types and sequences #140

merged 7 commits into from
Oct 17, 2023

Conversation

umuttrk
Copy link
Contributor

@umuttrk umuttrk commented Oct 15, 2023

Describe your changes

Checklist

  • [ X] I have read the [CONTRIBUTING]
    -[ X] I have performed a self-review of my own code
    -[ X] I have run the code locally and it works as expected
  • [ X] I have commented my code, particularly in hard-to-understand areas

Screenshots (if appropriate)

Copy link
Owner

@canbula canbula left a 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.

Copy link
Owner

@canbula canbula left a 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.

Copy link
Owner

@canbula canbula left a 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.

"headset":120
}

def remove_duplicates(list):
Copy link
Owner

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


def remove_duplicates(list):
new_list = []
for key in my_list:
Copy link
Owner

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

Copy link
Owner

@canbula canbula left a 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.

"headset":120
}

def remove_duplicates(listParam):
Copy link
Owner

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.

Copy link
Owner

@canbula canbula left a comment

Choose a reason for hiding this comment

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

💯

@canbula canbula merged commit eb4b20c into canbula:master Oct 17, 2023
1 check passed
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