Exercise for reference: 

Please fix the script so that it prints out the square root of 9.

Answer: 

import math
math.sqrt(9)

Explanation:

Since you get the error that math is not defined, that means math is not in the default namespace. With some internet research, you could easily find out that math is a module, so you simply need to do import math  .