1/9
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
What is a substring?
A substring is a string that is a part of an existing string.
What do compound conditionals test for?
Compound conditionals test that more than one condition is true at the same time.
How do you toggle a boolean variable?
Use the not operator to toggle a boolean between true and false.
What is the default steps per second in onStep for animations?
The default is 30 steps per second.
What is an integer (int) in Python?
Integers are numbers without a decimal point.
How do you convert a string to an integer in Python?
Use the int() function to turn the user’s input into an int.
What operator is used for string concatenation in Python?
The + operator is used to concatenate (combine) strings.
What does random.randint(low, high) do?
It gives you a number between and including low and high.
What should you include when using images that are not your own?
Include citations for any material you use that is not your own, including images and code.
How can you access the width and height properties of an image?
Use image.width and image.height to access the width and height properties.