If you want to work with mathematical functions, you will need to import the math library.
>>> import math
>>> print p
For complex numbers, you must import cmath.
Posted by: holan | post date: 11-20-2012 | Subject: Python Programming Language
This website intents to provide free and high quality tutorials, examples, exercises and solutions, questions and answers of programming and scripting languages: