Day 11 of 100 Days of Python — Lists (Methods) Today, I learned about list methods in Python. Lists store data, and list methods help us add, remove, and organize that data easily. What I Learned — Python List Methods 1) append( ) Adds a new item to the end of the list. 2) insert( ) Adds an item at a specific position in the list. 3) extend( ) Adds all items from another list. 4) remove( ) Removes a specific value from the list. 5) pop( ) Removes and returns the last item from the list. 6) clear( ) Removes all items and makes the list empty. 7) index( ) Finds the position of a value in the list. 8) count( ) Counts how many times a value appears. 9) sort( ) Sorts the list in ascending order. 10) reverse( ) Reverses the order of the list. 11) copy( ) Creates a new copy of the list. #100DaysOfPython #PythonBasics #LearningJourney #PythonLists #BeginnerCoder #LearnInPublic
Nice progress. List methods are one of those topics that seem simple at first but become really useful once you start manipulating real data. Practicing things like append(), pop(), and sort() early definitely makes later exercises easier. Keep going.
Let's go we are on the same journey 😉
Good Progress Prashanth Oruganti
Do check this GitHub repository I think you'll find it helpful: https://github.com/swopnimghimire-123123/learn_python