Skip to main content
Engineering LibreTexts

6: Fruitful functions

  • Page ID
  • Many of the Python functions we have used, such as the math functions, produce return values. But the functions we’ve written are all void: they have an effect, like printing a value or moving a turtle, but they don’t have a return value. In this chapter you will learn to write fruitful functions.

    • Was this article helpful?