Syntax
Keywords
Coding Practices
Data Types
Expressions
100

When writing a loop of any kind, what indicates what is inside of the loop?

:

100

input()

Gets the input from a user

100

What is this called?

userInput

Camel case
100

x = 5

Integer
100
X = 10//2

X = 5

200

How does python indicate a block of code is inside of something else?

Tabs

200

eval()

Evaluates whatever is inside of the parenthesis

200

It is important to make all identifiers ______.

Word bank: meaningful, important, expressions, short, long.

meaningful
200

X = 5.0

Float

200

X = 10/2

X = 5.0
300

True or False:

You can use a keyword as a name for a variable?

False

300

print()

Outputs the arguments to console

300

When is it important to use ()?

Always

300

X = True

Boolean

300

X = "Hel" + "lo"

X = "Hello"
400

Is this block of code correct?

userInput == eval(input("Please enter a number"))

No. Two equal signs indicate a comparator, similar to > or <

400
For

The start of a for loop

400

True or False

You should always write a function to hold your code

True

400

X = "Hello"

String

400

X = float(10//2 * (4 ** 2))

X = 80.0

500

What does this mean: %

Modolus, it gives you the remainder of an expression.

500

if

The start of a conditional if statement.
500

True or False

You should always use an integer expression in place of a boolean expression.

False

500

x = [6,2,8,9,10,4]

List

500

X = bool("Tr" + "ue")

X = True