- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Calculating Circular Values with Python's Math Modules
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.

Lab Info
Table of Contents
-
Challenge
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. -
Challenge
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.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.