Reputation: 21
from wisconsion1 import *
from alaska1 import *
from texas1 import *
from indiana1 import *
Is there some way to simplify this? Esp if I'm going to add more in the future.
Upvotes: 0
Views: 30
Reputation: 2277
Yes, you can simplify and clean up the code it as follows:
import * from wisconsion1, alaska1, texas1, indiana1
Upvotes: 1