DEV Community

Cover image for Day 26 Of Documenting My Learning Journey
James Kabuga
James Kabuga

Posted on

Day 26 Of Documenting My Learning Journey

What I did Today

  1. Learnt how to define lists , List methods , Indexing , slicing and looping.

On what I learnt Today

  1. To define lists we use square brackets []
  2. Lists has several methods like: Append , pop ,copy , remove , sort
  3. Indexing = name of the list[index of the item in the list]
  4. Slicing = name of the list[start index : last index]
  5. Looping: The syntax

for indx , item in enumerate(name of list , start=1)
print("specify what you want to display.")

*Resources I used *
Python refresher series by Bonaventure Ogeto on Youtube

What's Next
Introduction to Dictionaries and Key value pairs.

Top comments (0)