variable - ✔✔ A _____ stores a piece of data, and gives it a specific name.
For example:
spam = 5
variable - ✔✔ A _____ stores a
... [Show More] piece of data, and gives it a specific name.
For example:
spam = 5
boolean - ✔✔ A _____ is like a light switch. It can only have two values. Just like a light switch can only be on or off, a boolean can only be True or False
boolean - ✔✔ A _____ is like a light switch. It can only have two values. Just like a light switch can only be on or off, a _____ can only be True or False
boolean - ✔✔ A _____ is like a light switch. It can only have two values. Just like a light switch can only be on or off, a _____ can only be True or False
4 - ✔✔ when dealing with whitespaces, indent the code with the use of __ spaces.
4 - ✔✔ when dealing with whitespaces, indent the code with the use of __ spaces.
interpreter (both) - ✔✔ The window in the top right corner of the page is called the _____. The _____ runs your code line by line, and checks for any errors.
interpreter (both) - ✔✔ The window in the top right corner of the page is called the _____. The _____ runs your code line by line, and checks for any errors.
# (both) - ✔✔ You probably saw us use the __ sign a few times in earlier exercises. The __ sign is for comments. A comment is a line of text that Python won't try to run as code. It's just for humans to read.
# (both) - ✔✔ You probably saw us use the __ sign a few times in earlier exercises. The __ sign is for comments. A comment is a line of text that Python won't try to run as code. It's just for humans to read.
comment - ✔✔ You probably saw us use the # sign a few times in earlier exercises. The # sign is for comments. A ____ is a line of text that Python won't try to run as code. It's just for humans to read.
comment - ✔✔ You probably saw us use the # sign a few times in earlier exercises. The # sign is for comments. A ____ is a line of text that Python won't try to run as code. It's just for humans to read.
#, #, triple quotation - ✔✔ The __ sign will only comment out a single line. While you could write a multi-line comment, starting each line with __, that can be a pain.
Instead, for multi-line comments, you can include the whole block in a set of ____ _____ marks:
"""Sipping from your cup 'til it runneth over,
Holy Grail.
"""
#, #, triple quotation - ✔✔ The __ sign will only comment out a single line. While you could write a multi-line comment, starting each line with __, that can be a pain.
Instead, for multi-line comments, you can include the whole block in a set of ____ _____ marks:
"""Sipping from your cup 'til it runneth over,
Holy Grail.
"""
*, ** (2*3 = 6, 2**3 = 8) - ✔✔ in python, we use __ to indicate multiplication and __ to indicate exponents.
*, ** (2*3 = 6, 2**3 = 8) - ✔✔ in python, we use __ to indicate multiplication and __ to indicate exponents.
modulo (both) - ✔✔ Our final operator is ____. ____ returns the remainder from a division. So, if you type 3 % 2, it will return 1, because 2 goes into 3 evenly once, with 1 left over. [Show Less]