to upgrade
Ideas from books, articles & podcasts.
Now we are getting to the fun stuff.
We can think of a list as a variable that can contain more than one variable, and they can all be different data types.
As you can see by the image we define a list the same way as a variable, in this case "My_List =" after the equal we need to use square brackets "[ ]".
In this lesson we will just print the lists, which is just "print(My_List)", this wil print the list in to the console as you can see.
In the next lesson we will look at how to manipulate the lists.
Dont forget to join the discord channle if you need any help
STASHED IN:
4
created an idea
2 Reactions
Comment
❤️ Brainstash Inc.