Using Arrays: The Magic 8-Ball:
An array is a list of items that are numbers, booleans, or strings. Arrays have a length which is the number of items they contain. You get and change the values of items at different places in an array. You find items in an array by knowing their positions.
When an item is added to an array it becomes an element of the array. Array elements are found using an index. This is the position in the array of the element, or the element’s order in the array. The positions in an array begin with the index of 0. The first place in the array is 0, the second place is 1, and so on.
Create variables- answer, index, magic 8-ball answers
Use Random block from Math menu
Microbits Week 3 pdf.pdf