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 again 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 collection of variables. Let’s use the example of a string. A string is a variable that stores a string of alphanumeric characters and symbols. This is used to store such things as names and places, as well as to display text on the screen to users.