You can watch the video below to see how to create and use arrays and scroll down to see the sample code.
Arrays are very useful in any programming language. When you use a simple variable, you can only store one value. For example age = 17 or name = “Harry”. But what if you want to store a list of related values such as all the names of members in a family? That is where arrays come in handy. Take a look at the syntax in the sample code below.
Next tutorial: Finding the length of arrays and strings