This function is used to send a message to be printed to the output
print()
While not technically a loop, this conditional runs if a certain condition is met and has the highest priority
if:
This command is used to import libraries
import()
This library must be imported before you can draw anything in the output
turtle
This game you all created that involved taking a turtle and creating art with it
Turtle Art
This escape character can be used to create a new line within a message
\n
Again, while not technically a loop, this conditional has medium priority and your first one will run if your if statement fails
elif:
Does absolutely nothing
pass
This function is used to change the color of your turtle
color()
This game you all created that involved inputting a key to increment a value
Cookie Clicker
This escape character can be used to create an indentation (or what the tab key does) within a message
\t
Found in most for loops, this refers to a range of numbers and can be used to repeat the for loop a certain number of times
range()
A container that holds many different values of the same kind (except booleans cause we STILL hate those)
List
This function is used to move your turtle forward
forward()
This game you all created that involved choosing your own path, adventure style
Choose Your Own Adventure
This function asks for user input while also optionally printing a message
input()
This loop has the most potential to repeat indefinitely
while:
This command is used to break out of while loops
break
This function is used to alter the speed of your turtle
speed()
This game you all created that involved debunking a mystery and solving a crime
Murder Mystery
The amount of data types that can be included in a message without a syntax error
1
Also found in for loops is a placeholder value that changes as the loop progresses
i
Refers to the length of a list or a string
len()
This function is used to change the size of your turtle's trail
pensize()
This game you all created that involved a random number being chosen and taking attempts to guess the number
Random Number Game