my question here:Hi all. I have not received my book yet, so I am unable to go on.
#file2.py #module # Import built-in module math import math#the module is 'math' content = dir(math) print(content) y=cos(pi/6)#NameError: 'cos' is not defined z=math.y print(z)