Importing Question


Why would you use this "From math import * " to import everything? When you use "import math" doesn't it import everything anyway?


With the from math import * it brings everything into the namespace so you dont have to do math.sqrt to use everything, instead using just sqrt().

This can be both good and bad though.


Interesting. Thanks Zeziba!