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
91,550
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 Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now