You are on page 1of 1

1.

Variable names used and their categories (5 points)


• Variable names used is mass, velocity was used to compute kinetic energy.

2. Special words used (5 points)


• def
• return
• str
• round
• print
3. Scoping rule used in the function (static or dynamic) and one-sentence explanation of
why it falls under that rule (5 points)
• It has a static scope since it is based on the mass and speed of the item. By
perusing the code, one may learn how to create codes more easily.

You might also like