Essentials
Data types and functions
Arithmetic operations
String Operations
Miscellaneous
100

The character that is used to assign a value to a variable.

The equal sign =
100

Name 6 data types.

int, float, list, dict, str, tuple

100
The operator to obtain the modulus of a division

Percentage (%)

100

In the word "Hello," what is the index for the first 'l' ?

2

100

The print(), len(), and input() functions are examples of...

Built-in function

200

The character that finalizes a conditional or iterative statement

Colon ":"

200
The built-in function to change "43.23" to 42.23

float()

200

The characters that are used to compare the equality of two values or variables

Equation characters "=="

200

The built-in function to change a str (string) to UPPER CASE

var.upper()

200

The built-in function that returns the structure in a variable.

dir()

300

The statement that can interrupt a repeated statement execution.

"break"

300
The function to check the data type of a variable

type()

300
In PEMDAS, what does 'P' refer to?

Parenthesis

300

The built-in function to obtain the number of characters in a str variable

len()

300

The three essential elements to read a file.

File name and location

Data object

Algorithm to read

400

The statement required for a function to be considered a fruitful function

"Return"

400

You are asked to obtain a random element from a list. What would you use?

import random

r_element = random.choice(list)

400

The code expression to find an element in a list or string.

IN. For example:

if 'word' in text:

400

Index to reverse a str variable

[::-1]

400

Random or CSV are examples of what Python built-in structures.

Modules

500

The essential elements necessary to define a function

def

function name

colon

attributes are optional

500

The error type that results from dividing a list by a number

Type (logic) error

500

What will be a boolean expression to check if a number is even?

number % 2 == 0

500

The built-in function to break a str variable into a list  str with a criterion (e.g., paragraphs, lines, sentences)

split()

500

When can a loop go infinite?

'while' with a value that is/evaluates to true

M
e
n
u