Basic Math
Variables
Flow Control
General Python
String Operations
100
This character denotes the division operator.
What is the forward slash (/) ?
100

This common variable type stores letters, numbers, and symbols. We often use this in typecasting and concatenation

What is a string?

100

This is the first word of any conditional.

What is 'if' ?

100
To comment a line in Python, you use this/these character(s).
What is a pound sign (#) ?
100

This operator (+) puts two strings together (or data stored as variables and strings).

What is the concatenation (+) operator?

200

These characters have the highest order of operation in Python (and come first in math as well)

What are parenthesis?

200
This variable type stores decimal numbers.
What is a float?
200

At the beginning of a code exercise, we always see 

" " " before some red information and " " " after the red information.  This is the purpose for these: 

What is the header ?

200

With this type of error, a program will not run.  It also will give an error message and give a general idea of where the error is located.

What is a syntax error?

200

This would print with the following code:

day = "Wednesday"

print("day")

What is day?

300

The result of 9 / 5

What is 1.8?

300

This function asks for user response and can be assigned to a variable.

What is input()?

300

The value of 'x' after the following Python code has completed executing?

x = 100

x *= 15

print(x)

What is 1500?

300

In Python, this is the smallest element of a program that can be executed.  Clue:  input _______, 

print _______

What is a statement?

300

This would be the output if your code was:


name = input("What is your name?")

print(name)

What is whatever is stored in the "name" variable (or the answer to the question)

400

The result of:

num = int(9 / 5)

print(num)

What is 1 ?

400

Data stored as a string is surrounded by these.

What are quotes or quotes and parentheses)

400

This replaces n = n - 20 as 

n-= 20. 

This operation is called:

What is a  decrement statement?

400

For:

if x > 15:

     print("That number is greater than 15!") 

The condition is:

What is x > 15?

400

This function prints a blank line in coding.

What is print()?

500
Denoted as '%', this operator returns the remainder of a division operation.
What is the modulus?
500

To typecast a variable to a string, you would need to do this...

What is str()

500

This operation replaces 

n = n + 10 and makes it 

n += 10.  

What is a increment statement?

500

For:

if x > 15:

     print("That number is greater than 15!") 

The conditional is:

What is if x > 15?

500

This can be omitted from a boolean variable and the outcome is the same.

if running == True:

What is  == True.  

M
e
n
u