Example #1
0
#8.15 Printing Models

unprinted_designs = ['dodecahedron', 'mathsphere', 'catenary']
completed_designs = []

import printing_models as pm
pm.print_models(unprinted_designs, completed_designs)
pm.show_completed_models(completed_designs)
import printing_models

unprinted_designs = ["iphone case", "robot pendant", "dodecahedron"]
completed_models = []

printing_models.print_models(unprinted_designs, completed_models)
printing_models.show_completed_models(completed_models)
Example #3
0
#import printing_models
#from printing_models import print_models,show_completed_models
#from printing_models import print_models as pm, show_completed_models as scm
import printing_models as pm

unprinted_designs = ['iphone case', 'robot pendant', 'dodecahedron']
completed_models = []

#printing_models.print_models(unprinted_designs[:], completed_models)
#printing_models.show_completed_models(completed_models)

#pm(unprinted_designs[:], completed_models)
#scm(completed_models)

pm.print_models(unprinted_designs[:], completed_models)
pm.show_completed_models(completed_models)
Example #4
0
from printing_models import print_models, show_completed_models

unprinted_models = ["spaceship", "jaeger", "anime figure", "statue"]
completed_models = []

print_models(unprinted_models, completed_models)
show_completed_models(completed_models)
#Very good the printing_models module and functions work perfectly.

##8-16:
import untitled

magicians = ["mason karsevar", "alice karsevar", "kieth mosher", "tj hooker"]
great_magicians = untitled.make_great(magicians)
untitled.show_magicians(great_magicians)

import untitled as un

magicians = ["mason karsevar", "alice karsevar", "kieth mosher", "tj hooker"]
new_magicians = un.make_great(magicians)
un.show_magicians(new_magicians)

from untitled import make_great

magicians = ["mason karsevar", "alice karsevar", "kieth mosher", "tj hooker"]
new_magicians = make_great(magicians)
print(new_magicians)

from untitled import show_magicians as show

magicians = ["mason karsevar", "alice karsevar", "kieth mosher", "tj hooker"]