top of page

Mission 1.5- Python Math Operators

Python comes with some basic functions.

Think about it this way, would you rather use a complicated function that just has addition and multiplication to get 2 to the power of 3, or would you rather have something much more simpler than that. Here are some important functions that you will need before you start this mission


Math.ceil (g)  -> use this to round up a number g

Math.floor(g) -> use this to round down a number g

len(g) -> to find the length of an object g

math.pow(g, h) -> this returns g to the power of h

math.sqrt(g) -> this finds the square root of g

bottom of page