Inputs

In previous labs we have learned:

  • How to assign values to variables
  • Define a function
  • Pass positional arguments to parameters in the function
  • Pass keyword arguments to parameters in a function
  • Pass key-value pairs as arguments to parameters in a function

So far all of the values we have defined have been written into the program. Ideally, we want to be able to pass information to our program from external sources and pass information between functions and to other programs. In this section, we will cover inputs and outputs