Looks like no one added any tags here yet for you.
Variable naming rules
only contain letters, numbers, and underscores
start with a letter or underscore (message_1, _message_1), but not with a number (1_message)
spaces are not allowed, use underscores as separator
avoid Python keywords and function names as variable names
Built in Python keywords and function names
Avoid using when naming variables
Data types in Python (8)
int, float, str, list, tuple, set, dict, bool
Lowest to highest rank type promotion
Boolean
Integer
Float
Complex
Division always returns a
float
What does the // operator do?
// is a ‘floor’ division — returns an integer
How to tab & create a new line
\t
\n
What are 3 data types that you can concatenate (given the elements you are trying to concatenate are all the same type)
Strings
Lists
Tuples
Slice notation syntax
string[start:end]
Begin at start index, does not include end index
Negative indexing
-1 is the last item in list/string
Slices with steps syntax
string[start : end : step]
step is what we count the indexes by (2 would be skipping every second index)
When would a runtime error occur?
When the syntax is correct, but an issue may arise due to wrong types/names/indexes/dividing by 0