This variable type stores letters, numbers, and symbols.
What are strings?
This is the correct way of writing exponents in Python
a**b
To comment out a single line in Python, you use these characters
What are #?
This is the correct way of accessing an item in a list
What is list[i]?
All function definitions must start with this phrase
This operator is used to define a variable
What is the assignment operator?
This operator divides two numbers and returns the remainder
What is the modulus operator (%)?
To print out the path to the directory I am in, I use this command line command
Indexes in lists start from this value
These structures allow decision making in programs
What are selection structures?
These are not allowed in variable names
What are spaces and special characters?
If y = 3 and z = 7, the value of
y != z and z <= 5
What is False
This command line command is used to make a new directory
What is mkdir?
What is list.sort()?
This statement is used to allow a function to provide output
What is return?
This term is used to describe turning a variable from one data type to another
What is typecast?
If a = 4, b = 5, and c = 8
The value of a<b or b>=c
What is True
This character is used to make new lines or tabs in print statements
What is the escape character?
These two are the correct ways to remove an item from a list
What are
list.remove("item") and del list[index]?
This is the difference between parameters and arguments
Parameters are used in the function definition, arguments are the values you put in when the function is called
These are allowed at the start of variable names
What are letters, and underscores
The value of 22//5
What is 4?
This type of error occurs when your code runs but does not produce the desired output
What is a logic error?
This is what happens if you sort a list containing both numbers and strings
You will get an error because you cannot sort a list containing different data types
In an if/elif/else statement, if three statements are true, your code will execute this many of them
What is the first true one?