How to Write Modular Code With Micropython Functions

In this lesson we show how to write modular code in micropython. We demonstrate this with a simple example of how to calculate parameters of interest for a given rectangle. For your convenience, the code developed in the video is presented below. Enjoy!