Skip to main content

Section 16.8 Chapter Summary

This chapter included the following concepts from computing.
  • Comment - A comment describes one or more lines of code. Comments are ignored by the computer. A comment in Python starts with #. The computer will ignore everything from the start of the comment to the end of that line.
  • Function - A function returns a value. An example of a function is Turtle() which creates and returns a turtle object.
  • Procedure - A procedure does an action, but doesn’t return a value. An example of a procedure is forward(100) which makes the turtle go forward by 100 pixels.
You have attempted of activities on this page.