I thought the same thing until I got to the part where the author used
from math import *
Which gives you significantly more options.I love this idea, I have always found math in the command line to be clunky.