Link Search Menu Expand Document

Functions

This module focuses on functions. It covers the following topics:

  • Functions for type conversion: int, float, str
  • Importing a module such as math
  • math functions: log10, sin, pi, sqrt (and using the documentation to find more functions)
  • Adding new functions: def
  • Flow of execution
  • Parameters and arguments
  • Variable scope
  • Docstrings: """Example"""
  • Fruitful vs. void functions

📖 Learn the material

✍️ Proceed to the functions test (estimated time needed: 60 minutes)


⬅️ Return to Basics

➡️ Move on to Conditionals