"Review: Modules"



import math
print sqrt(13689)


your code correct ?, No !


if you import a module , and you wanna use function from that module , we code like this

import module1
print module1.function1(argument1)

if we wanna import only one function we code like this :

from module2 import function2
print var1

this is want i know !

 My code ran correctly.  Thanks again for all of your help.  Here is the code that I used.:

import math
print math.sqrt(13689)


Ian Michael Jones