
How to use lists in Python

A string is a variable that allows you to store multiple variables with an index. This is an extremely powerful tool in programming and one that you will find yourself using then and again. In this post, we’ll see how lists work, how to create them, and how to add to a list in Python!
What are lists?
A list is a hodgepodge of variables. Let’s use the example of a string. A string is a variable that stores a string of alphanumeric notation and symbols. This is used to store such things as names and places, as well as to exhibit text on the screen to users.
.