What is the mean of '*' when use 'from math import *'

71 Views Asked by At

i made a code like this. and i learnedimport *calling all module in math but i don't know mean of '*' the result is diffrent with the thing i think

i thinked answer of 'd*e' is 16 also, answer of 'd**e' is 64 and so, sqrt(d**e) will be 8

i searched google but i don know the mean of *

d = 8
e = 2

from math import *

print(d*e)
print(d**e)
sqrt(d ** e)

but, result was 16.88210319127114

what is the mean of '*' ??

1

There are 1 best solutions below

0
i0x539 On

* is a wildcard that loads all of the functions in that library into your local namespace.