numberswhich can hold up-to 8
songswhich can hold up-to 5
with an index that begins at
output: invalid array index 7 (out of bounds for 7-element array)
...” appears in place of the length, the array length is determined by the number of elements
len()function to calculate length of array being iterated.
for...rangeto loop over an array.
rangereturns each array index and item.
!=. Remember, for arrays to be to of similar types, they need to store same type of data as well as their length must be same.