Does vexcode python allow you to import the python version of cmath? (text, not block)

We are a middle school team playing our second season. We just got new coaches, and they advised us to use math to advance our drive. How do we import math into python?

import math

will give you the following functions.

>>> math.
__class__       __name__        pow             acos
asin            atan            atan2           ceil
copysign        cos             degrees         e
exp             fabs            floor           fmod
frexp           isfinite        isinf           isnan
ldexp           log             modf            pi
radians         sin             sqrt            tan
trunc
>>> math.

also see here
https://docs.micropython.org/en/v1.13/library/math.html

3 Likes