0
What's The difference b/w 'import math' and 'from math import *' ?
2 Answers
+ 1
import math means you are importing whole library. Unlike from math import random(or something what you wanted instead of random) you are importing specific function from math library