Python List Basics
Rajeshkumar Harinathan
Posted on November 27, 2024
My Everyday Readings - List data type - Indexing - Slicing
Hi Friends,
Welcome to my blog. I am an Embedded hardware guy trying to upgrade my skills. I am sharing a summary of the new stuff I am learning daily.
Today, I read the basics of the List data type used in Python programming.
- A list is a value that contains multiple values in an ordered sequence. In other words, a list is a collection of items that are ordered and changeable(mutable).
- The items in a list are called elements or values.
- The values can be of any datatype (int, str, floats, or another list).
- A list starts with an open square bracket [ and ends with a closed square bracket ].
- The following codes will explain the list data type, indexing, and slicing of the values.
💖 💪 🙅 🚩
Rajeshkumar Harinathan
Posted on November 27, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
undefined I absolutely love when CSS gets new features (Even though it usually takes me years to remember to use them 😄)
November 27, 2024