A command that lets you tell Tracy to move ahead.
FORWARD
FORWARD(a_number)
A message in your code that explains what is going on.
comment
This is like a command that you get to invent and name.
FUNCTION
This is a way to repeat code in your program.
a number
A command that lets you tell Tracy to move behind.
backward(a_number)
comments are written for these groups to read and understand
humans
TRUE OR FALSE: If I am creating a function that is going to draw 2 squares I would use
Draw_Two_Squares
FALSE
Python writes loops as
FOR I IN RANGE
Naming rules only includes these type of letters
lowercase
In between the parenthesis, you need to put this to tell Tracy how far to move forward or backward.
(a_number)
This symbol is used at the beginning of an in-line comment
Hashtag (#)
In Python functions, the function body is this block of code that comes after the def my_function(): l
Indented
To show Python recognizes key words it does this
Changes color
Naming rules should use this type of name
descriptive
A command that tells Tracy to turn right
right(degrees)
This punctuation is needed to begin a multi-line comment
TRUE OR FALSE: THIS NAME FOLLOWS ALL OF THE NAMING RULES
make_square():
True
For loops help us by making it easy to alter our code and this
shortening our code
A symbol or container that holds a value.
Variable
When using Python's right or left command, you must include this in between the parenthesis
degrees
Too many comments can make your code this
unreadable
is the visual structure of how your code is laid out. It uses tabs to organize code into a hierarchy.
Indentation
For loops are used to repeat code for this number of times
fixed
The process programmer uses to identify elements
Naming Guidelines