Skip navigation

Rounding, absolute value, and exponents

Rounding, absolute value, and exponents: Learning the Python 3 Standard Library
Rounding, absolute value, and exponents: Learning the Python 3 Standard Library

Kathryn explains some of the common built-in mathematical functions such as round(), abs(), and pow(). Round() takes a given number and returns the number rounded up or down depending on the input's value. Abs() calculates the absolute value of a given number. Pow() takes two inputs—a base and an exponent—and performs exponentiation on them. These functions can be helpful if you need to perform some simple math computations in your code that you don't want to full write out yourself.

Resume Transcript Auto-Scroll
Skill Level Intermediate
2h 9m
Duration
157,293
Views
Show More Show Less
Skills covered in this course
Developer Programming Languages Python

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month