Flashcards
Arrays IS
Cards in this deck (6)
- 1What is an element?An element is an item in an array list
- 2What is an array?An array is a data structure that has multiple elements
- 3What is meant by a position or an indexThe elements in an array each have a position, starting at 0
- 4What are the syntax rules of an array?You need the variable name, square brackets and commas between each element in the array.
- 5Give an example of an array in Python.shoppingList = ["Milk", "Eggs", "Bananas"]
- 6How do you add or remove elements to an array in Python?Append and remove command words
Information
- Description
- Flashcards on Arrays IS, created by Cole Sutton on 13/04/2021.
- Created by
- Cole Sutton
- Views
- 7
- Rating