Buildin Function Python Tutorial

areaStr = "pi*(radius*radius)"
print "\nArea = " + str(eval(areaStr, {"pi":3.14}, {"radius":5}))