Can I know the right answer? Example.
from random import*
for i in range(15):
print random.randrange(3,13,3)
Can I know the right answer? Example.
from random import*
for i in range(15):
print random.randrange(3,13,3)
The import doesn't affect the file size (i.e. you don't include the source code of what is imported into your file if that is what you think). No matter how you import during execution the whole imported module is well "imported/processed". The effects are mainly on the namespace. And finally from foo import *
is considered bad practice, so don't do it....
You can read:
Use 'import module' or 'from module import'?
and