Variables & Data Types
Print & Input
Operators
Boolean Expressions & Conditionals
Turtle Graphics
100

What data type is the value "Hello Girls Who Code"?

string

100

Which function is used to display text or output on the screen in Python?

print()

100

Which math operator is used for multiplication in Python?

*

100

What are the only two possible values of a Boolean expression?

True or False

100

What command imports the turtle module so you can use it?

import turtle

200

What is the correct way to create a variable named score and store the number 50 in it?

score = 50

200

Which function is used to get information or answers typed by the user?

input()

200

Evaluate this boolean expression: 5 > 3

True

200

Which keyword is used to check an alternate condition if the if statement is false?

elif

200

What is the Turtle method used to draw a complete circle on the screen?

turtle.circle()

300

What data type is the number 3.14

float

300

What is the data type of whatever the user types into a standard input() prompt by default?

string

300

What does the % (modulo) operator do?

returns the remainder

300

What keyword handles everything else if all previous if and elif statements are false?

else

300

What command do you type right before drawing a shape if you want to fill it in with color?

turtle.begin_fill()

400

What data type is 9 / 3? 

Float

400

Fix this code so it works without crashing: print("Hello" + 5)

print("Hello" + "5")

400

What comparison operator checks if two values are equal?

==

400

If the condition in an if statement is False, does Python run the code inside it or skip it?

Skip it

400

Which method makes the turtle turn right by 90 degrees?

turtle.right(90)

500

 If x = "10" and y = "5", what does x + y evaluate to and why?

What is "105"

500

Why do we usually save an input() inside a variable?

So we can remember and use what the user typed

500

Evaluate this boolean expression: (5 > 3) and (10 < 2)

False

500

What punctuation mark must always go at the very end of an if statement line?

:

500

What command can you use to make your turtle draw faster or slower?

turtle.speed()