input
all things python
output
integers
conditionals
100

This command allows programmer to ask a question.

What is input()?

100

A Python data type that holds an ordered collection of values, which can be of any type.

What is list?

100

The data type of a= 10/ 5.

What is float?

100

The output of this code:

my_var =2 ** 3

What is 8?

100

if    x > 2:

     print("I love math.")

What is an if statement?


200

Addition (+), subtraction (-), multiplication (*), division (/), exponentiation (**), remainder (%) are examples of this input coding.

What is numeric operators?

200

An algorithm that has been coded into something that can be used by a machine.

What is a program?

200

A colon and four spaces of white space on the next code block.

What is "then" in an if statement?


200

If you see this character in your code:

       !=

What is not equal to?


200

>=

What is greater than or equal to?

300

Whole numbers, positive or negative are known as this.

What are integers (int)?

300

A single command in a programming language.

What is statement?

300

This allows coding for a sequence of different outcomes.

What is the purpose of elif statement?

300

The data type of:  6/2

What is float?

300

A colon and four spaces of white space on the next code block.

What punctuation always follows an if statement?

400

This enables Python to ask a question and the user to insert data as a string.

What is the input( ) statement?

400

Represents a sequence of characters (text)

What is a string?


400

Traceback (most recent call last):

  File "<pyshell#0>", line 1, in <module>

    printoutand

NameError: name 'printoutand' is not defined

What is syntax?

400

The position of the third item in a list.

What is 2?

400

and, or, not

==

!=

>=

<=

What are Boolean operators?

500

This assigns a value to a variable.

What is = (single equal sign)?

500

A type of code that will only run if a certain condition is met.

What is conditionals?


500

This function displays the output of a program.

What is print?


500

If you see this:

      %

in your code.

What is the modulo operator?

500

A type of code that will only run if a certain condition is met.

What is conditionals?