Loops
if, elif, else
The Basics
Math!
Graphics
100

One repetition of a loop

iteration

100

name = "Harry"

if "harry":

    print("Like Harry Potter!")

else: 

    print("cool name")

cool name

100

The process of fixing error codes

Debugging

100

25//6

4

100

Attributes that control how fast and what direction an instance moves on screen

speed

200

Repeats a section of code until a condition is no longer True

while loop

200

Daily Double! What would you like to wager?

grade = 75

if grade > 70:

     grade += 5

     if grade > 80:

          grade -=5

print(grade)

200

A group of letters, symbols and/or numbers inside double quotation marks

string

200

20 % 4

0

200

An on-screen graphic based on an image

sprite

300

When all prior conditions are False, runs a section of code when the condition is True

elif

300

grade = 60

if grade > 50:

     grade += 10

     if grade > 70:

          grade -=5

if grade >= 80:

     print("B")

elif grade >= 70:

     print("C")

else:

     print("F")

C

300

Horizontal (x) and vertical (y) position

coordinates

300

(3%2) * 2

2

300

Attribute that controls how fast the images from a spritesheet change

animation rate

400

Immediately end an iteration

continue statement

400

grade = 60

if grade > 50:

     grade += 10

     if grade > 65:

          grade -=5

if grade >= 80:

     print("B")

elif grade >= 70:

     print("C")

else:

     print("F")

F

400

treat one data type like another

typecast

400

Daily Double! What would you like to wager?

(27//8)**(20%9)

400

A function that belongs to an instance  

method
500

Immediately end a loop

break statement

500

num = 5

num += 100

if num < 100:

     print("Less than 100)

if num >= 100:

     if num > 110:

          print("Wow")

     if num <= 110:

          print("I see")

I see

500

Rapid changes that the human eye perceives as motion

animation

500

(4**2) // (5%2)

16

500

A specific copy created from a class

instance