Method
You have to import a function from math import sqrt from math import *: import all function in math, easy but pollute name space import math: you will have to type function as math.sqrt when using
Popular functions: 1 from math import sqrt, sin, cos, pi:
sqrt is part of math package
2 time function: measure how long the system runs for a specific task 3 from random import random random( ): floating number between 0 and 1 randomrange( ): integer number between your range choice Define new function Structure
Ex:
def name ( parameter list ) : block def promt(): print ('Enter a value:')