This repository contains a collection of Python list methods implemented for educational purposes. These methods provide examples of common operations performed on list data structures.
- append(item): Appends the specified item to the end of the list.
- clear(): Removes all items from the list.
- copy(): Returns a shallow copy of the list.
- count(item): Returns the number of occurrences of the specified item in the list.
- extend(iterable): Appends elements from the iterable to the end of the list.
- index(item, start=0, end=-1): Returns the index of the first occurrence of the specified item in the list.
- insert(index, item): Inserts the specified item at the specified index in the list.
- pop(index=-1): Removes and returns the item at the specified index in the list.
- remove(item): Removes the first occurrence of the specified item from the list.
- reverse(): Reverses the order of the items in the list.
- sort(key=None, reverse=False): Sorts the items in the list in ascending order.
This project is licensed under the MIT License - see the LICENSE file for details.
- List any acknowledgments or resources you used in developing these list methods.
Feel free to customize the README file according to your specific needs. Don't forget to include a license file (e.g., LICENSE) if you want to specify the terms under which others can use or contribute to your code.
Good luck with your project, and happy coding!
Facebook:- https://www.facebook.com/problemsolvewithridoy/
Linkedin:- https://www.linkedin.com/in/ridoyhossain/
YouTube:- https://www.youtube.com/@problemsolvewithridoy
Gmail:- entridoy2@gmail.com
If you have any confusion, please feel free to contact me. Thank you