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

Added list manipulation methods #81

Merged
merged 2 commits into from
Oct 10, 2024
Merged

Added list manipulation methods #81

merged 2 commits into from
Oct 10, 2024

Conversation

mehul-m-prajapati
Copy link
Contributor

@mehul-m-prajapati mehul-m-prajapati commented Oct 8, 2024

closes #66

  1. Implemented the following methods in the source code:
  • add_to_list: Adds an element to the list.
  • remove_from_list: Removes an element from the list.
  • find_in_list: Searches for an element in the list and returns its index.
  • sort_list: Sorts the list in ascending order.
  • merge_lists: Combines two lists into one, eliminating duplicates.
  • unique_elements: Returns a list of unique elements from the original list.
  • list_average: Calculates the average of numerical values in the list.
  1. Added relevant test cases in the test file.

Copy link
Contributor

github-actions bot commented Oct 8, 2024

👋 Thank you for opening this pull request! We're excited to review your contribution. Please give us a moment, and we'll get back to you shortly!

Feel free to join our community on Discord to discuss more!

@github-actions github-actions bot requested a review from UTSAVS26 October 8, 2024 19:31
@UTSAVS26
Copy link
Owner

UTSAVS26 commented Oct 9, 2024

Add proper details in the the PR then i will merge it.

@mehul-m-prajapati
Copy link
Contributor Author

Add proper details in the the PR then i will merge it.

@UTSAVS26 : okay done

@UTSAVS26 UTSAVS26 added hacktoberfest Issues or PRs that qualify for Hacktoberfest contributions. hacktoberfest-accepted Pull requests that are accepted for Hacktoberfest contributions, even if not merged. Contributor level1 gssoc-ext labels Oct 10, 2024
@UTSAVS26 UTSAVS26 merged commit 80870e7 into UTSAVS26:main Oct 10, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contributor gssoc-ext hacktoberfest Issues or PRs that qualify for Hacktoberfest contributions. hacktoberfest-accepted Pull requests that are accepted for Hacktoberfest contributions, even if not merged. level1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add list manipulation methods
2 participants