Keyword | Definition |
---|---|
character | an individual letter, digit or punctuation mark |
data structure | a special type of variable which can store more than one value |
for loop | a type of iteration where a block of code is repeated for each item in a data structure such as a list or string |
indentation | moving a block of code over from the left of the code editor so that you know which lines of code should be repeated in a for loop |
iteration | repeating a block of code multiple times |
len | a built in python function which can find the length of a list or string by counting the values or characters stored inside |
list | a data structure which stores multiple values in a specific order (e.g. different colours of the rainbow) |
string | a data structure which stores multiple characters in a specific order (e.g. a sentence) |
variable | a named location in memory which can store a value. The name doesn't change but the value stored might change when the program runs. |