CMU Unit 4 - Quiz 4c, Animating Lots of Shapes
Across
- 3. when a shape in the group does not have a comma after it or when the shape is missing a closing parenthesis
- 6. tells Python to run the indented code that comes after it, any time a key is pressed
- 7. tells Python to randomly changes the label's value every time onStep is called to be a number between 0 and 100
- 8. there are two possibilities and the condition determines which one gets executed
- 11. uses randrange
- 12. special methods which can alter group shapes include g.add(), g.remove(shapeName), and g.clear()
Down
- 1. moves each shape in the group one by one
- 2. allows you to temporarily give a name to each shape in a group, which enables you to do things like keeping circles from disappearing forever when they reach the edge of the canvas
- 4. In order to remove a shape from a group, you must have name of that shape groupName.remove(shapeName)
- 5. temporarily names each shape in the group's dot and runs the indented code for that shape
- 9. a way to mass all shapes together and move it as a single image
- 10. the random number won't ever be the hi number but it could be low