Chapter 12 Data Structures: Arrays and using pre-release material

Arrays

An array is basically a list which can store things, like electricity bills and all sorts of that. An array can only have one data type.

Bubble Sort: What programmers use to deal with a list, bubble sorts, sort the list in order.

One dimensional Array

Append and Remove: To change an item in a list we use append, and to remove, we use remove.

The list always starts at 0, so if you have 3 items: Apple,Banana and kiwi, then it will be arranged in: Apple (0), Banana(1) and Kiwi(2), so even if you have 3 items, it will count the first one as 0.

this is my 2 scripts i was working on

farm-aniamals-arrays

countries-arrays

These are the other tasks

A ROGUE VALUE is a value used in an algorithm to end a loop
Advertisements