Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 357 Bytes

star-imports.md

File metadata and controls

25 lines (16 loc) · 357 Bytes

Fixing star imports

Star imports are not supported. Here's an example:

from math import *

To fix it, replace the * with the elements you're using.

Say your code looks like this:

from math import *

result = log(e)

You can fix it by changing the * for log, e:

from math import log, e

result = log(e)