Python
Programming History
Programming basics
Turtle
100

What is Python?

A programming language

100

Who wrote the first computer program?

Ada Lovelace

100
What is a variable?

A name that references a value

100

What is the turtle library?

A library to help us draw things in Python

200

What is a function?

A reusable set of instructions in code.

200

Who found the first computer bug?

Grace Hopper

200

What is an if statement?

A block of code that runs if the given condition (statement) is true.

200
How do I move my turtle forward?

turtle.forward(num_steps)

300

How is a function defined in Python?

With "def"
300

What was the first computer bug?

An actual bug!

300

What does a for statement do?

Runs a block of code for each item in the list given.

300

What are the X and Y coordinates for the middle of the screen?

(0, 0)

400

How do you include a library (like random or turtle) in your Python code?

"import" plus the name of the library

400

Who invented GPS?

Gladys West

400

What is a parameter?

A variable provided to a function call.

400

What should a turtle do 4 times to make a square?

Go forward the length of the side and then turn 90 degrees.

500

Why is Python called Python?

It's named after Monty Python.

500

Who made the first feature-length animated movie?

Charlotte (Lotte) Reininger

500

How do I reset the value associated with a variable?

variable_name = new_value

500

How do I move my turtle backwards?

turtle.forward(-10)

M
e
n
u