There are so many things that we can model while we’re programming, and this includes things that we learned about in mathematics classes, such as shapes. These skills can be useful when we’re working on graphics software or something similar to help engineers model their design structures. In this hands-on lab, we’ll use some of the tools provided to us by Python’s `math` module to make geometric calculations about circles.
To feel comfortable completing this lab, you’ll want to know how to use Python’s `math` module. Watch the “Common `math` Functions and Constants” video from the [Using Python’s Math, Science, and Engineering Libraries](https://linuxacademy.com/cp/modules/view/id/621) course.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Implement the `circle_circumference` function.
Implement the
circle_circumference
function such that running the automated tests for that function intest_calcs.py
all pass. You’ll need to utilize themath
module and think outside of the box a little bit.- Implement the `circle_area` function.
Implement the
circle_area
function such that running the automated tests for that function intest_calcs.py
all pass. You’ll need to utilize themath
module and think outside of the box a little bit.