from ascii import one
print(one())

from ascii import two
print(two())

from art.pictures import three
print(three())

from art.pictures import four
print(four())

from art.even_more_art.images import five
print(five())

from scene import six
print(six())
Exemple #2
0
# importing a function from a module in the root directory
from ascii import one, two
# importing functions from a module inside a package in the root directory
from art.pictures import three, four
# importing functions from a module inside nested packages
from art.even_more_art.images import five
# importing a function from a module in the root directory
from scene import six

# test all the imported functions
print(one(), two(), three(), four(), five(), six(), sep="\n\n\n")
#Your goal is to import and run functions one, two, three, four, five, and six. This should be done inside the Python shell
#from the top-level directory (don't cd into the sub-directories).
import ascii
import scene
from art.even_more_art import images
from art import pictures

print(ascii.one())
print(ascii.two())
print(pictures.three())
print(pictures.four())
print(images.five())
print(scene.six())
from ascii import one, two
print("this is number 1: {}".format(one()))
print("this is number 2: {}".format(two()))
#go into a folder and grab a file

from art.pictures import three, four
print("this is number 3: {}".format(three()))
print("this is number 4: {}".format(four()))

from art.even_more_art.images import five
print("this is number 5: {}".format(five()))

from scene import six
print("this is number 6: {}".format(six()))