One repetition of a loop
iteration
name = "Harry"
if "harry":
print("Like Harry Potter!")
else:
print("cool name")
cool name
The process of fixing error codes
Debugging
25//6
4
Attributes that control how fast and what direction an instance moves on screen
speed
Repeats a section of code until a condition is no longer True
while loop
Daily Double! What would you like to wager?
grade = 75
if grade > 70:
grade += 5
if grade > 80:
grade -=5
print(grade)
A group of letters, symbols and/or numbers inside double quotation marks
string
20 % 4
0
An on-screen graphic based on an image
sprite
When all prior conditions are False, runs a section of code when the condition is True
elif
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
Horizontal (x) and vertical (y) position
coordinates
(3%2) * 2
2
Attribute that controls how fast the images from a spritesheet change
animation rate
Immediately end an iteration
continue statement
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
treat one data type like another
typecast
Daily Double! What would you like to wager?
(27//8)**(20%9)
A function that belongs to an instance
Immediately end a loop
break statement
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
Rapid changes that the human eye perceives as motion
animation
(4**2) // (5%2)
16
A specific copy created from a class
instance