Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need this in python C zy 12.13. LAB Artwork lab x C Czy 12.14. LAB Guess Thei - v - 1 x > >

I need this in python

image text in transcribed

image text in transcribedimage text in transcribedimage text in transcribed

C zy 12.13. LAB Artwork lab x C Czy 12.14. LAB Guess Thei - v - 1 x > > https://lean.zyliacks.com/zytco DREXELENGR131 Kandasamy Winter 2020/chapter/12/section/13 = zyBooks My library > FNGR 131. Introductory Programming for Fngineers homo> 12 13:1 AB Artwork label (modules) Books cata og Hopfaq Kyle cary - 12.13 LAB: Artwork label (modules) Define the Artist class in Artist.py with a constructor to initialize an artists information. The constructor should by default initialize the artists name to 'Nona' and the years of birth and death toll. Define the Artwork class in Artwork.py with a constructor to initialize an artworks information. The constructor should by default initialize the title to 'None, the year created to 0, and the artist to use the Artist cetaut constructor parameter values. Add an import statement to import the Artist class. Add import statements to main.py to import the Artist and Artwork classes. Ex: If the input is: Pablo Picasso 1981 1973 Three Musicians 1921 the output is: Artist: Pablo Picasso (188- 1973) Title: Three Musicians, 1921 Il the input is: Brice Marden 1935 Distan Muses C zy 12.13. LAB Artwork lab x C Czy 12.14. LAB Guess Thei - v - 1 x > > https://lean.zyliacks.com/zytco DREXELENGR131 Kandasamy Winter 2020/chapter/12/section/13 = zyBooks My library > FNGR 131. Introductory Programming for Fngineers homo> 12 13:1 AB Artwork label (modules) zyBooks cata og Hop FAQ Kylo cary - LA RIVITY 12131:11B Artwork label (modules) 6/10 Current file: main.py - Load default template... 1 2 TODO: Import Artist fron Artist.py and Artwork from Artwor.pl 11 nana_ - ain : Laser Artist narreirput) User birlit year - int(input) ISO death yoor - int(input) I ser title - piti user year cealed - inliroul )) 1.5er_artist - Artist (user_artist_nare, user_01th_year, user_death_year) raw_artwork - Altxork(usar_r1t1a, user_year_croatar, user_artist, res_artwork.frirt info) Develop mode Submit mode Run your program as clter as youd like, before submitting for grading. Below, type any needed impul values in the first box, then click Run program and observe the programy's output in the second box. Enter program input (optional) If your code requires input values, provide them here. Run program Input (from above) - main.py (Your program) Output (shown below) C zy 12.13. LAB Artwork lab x C Czy 12.14. LAB Guess Thei - v - 1 x > > https://lean.zyliacks.com/zytco DREXELENGR131 Kandasamy Winter 2020/chapter/12/section/13 = zyBooks My library > FNGR 131. Introductory Programming for Fngineers homo> 12 13:1 AB Artwork label (modules) zyBooks cata og Hop FAQ Kylo cary - RIVITY 12131: LAB Artwork label (modules) 6/10 Current file Artist.py - Load default template... 1 slass Artist: cel _init_(self,nanc-Nonc, birth-@docth-2): Selt. nane nane self birth year-birli soll.cath_yaan ceath vef prin info(self): 11 soll.death_y - 1: print('{:5}, hom :d}'.format(selt. Sane, selt.01-th_year)) alsc: print :S) (:0}-::d})'. Farnati salf.nare,self.birth_year,selt.death_year)) Develop mode Submit mode Run your program as clter as youd like, before submitting for grading. Below, type any needed impul values in the first box, then click Run program and observe the programy's output in the second box. Enter program input (optional) If your code requires input values, provide them here. Run program Input (from above) - main.py (Your program) Output (shown below) C zy 12.13. LAB Artwork lab x C Czy 12.14. LAB Guess Thei - v - 1 x > > https://lean.zyliacks.com/zytco DREXELENGR131 Kandasamy Winter 2020/chapter/12/section/13 = zyBooks My library > FNGR 131. Introductory Programming for Fngineers homo> 12 13:1 AB Artwork label (modules) zyBooks cata og Hop FAQ Kylo cary - CRIVITY 12131: LAB Artwork label (modules) 6/10 Current file: Artwork.py - Load default template... 1 TODO: Iroort Artist from Artist.py 3 Class Artwork: vef inal (sulf, Lille-hone"yer-, artist Artist(): soll.title-t1:1. selt. Year Cratec-year self.arlisl-arlist cet arint into self): print('Artist: ".snd.'' selt.artist.ariat into prinli'iille: : :d}" fornaliself. caule, self, yet created Develop mode Submit mode Run your program as clter as youd like, before submitting for grading. Below, type any needed impul values in the first box, then click Run program and observe the programy's output in the second box. Enter program input (optional) If your code requires input values, provide them here. Run program Input (from above) main.py (Your program) Output (shown below) C zy 12.13. LAB Artwork lab x C Czy 12.14. LAB Guess Thei - v - 1 x > > https://lean.zyliacks.com/zytco DREXELENGR131 Kandasamy Winter 2020/chapter/12/section/13 = zyBooks My library > FNGR 131. Introductory Programming for Fngineers homo> 12 13:1 AB Artwork label (modules) Books cata og Hopfaq Kyle cary - 12.13 LAB: Artwork label (modules) Define the Artist class in Artist.py with a constructor to initialize an artists information. The constructor should by default initialize the artists name to 'Nona' and the years of birth and death toll. Define the Artwork class in Artwork.py with a constructor to initialize an artworks information. The constructor should by default initialize the title to 'None, the year created to 0, and the artist to use the Artist cetaut constructor parameter values. Add an import statement to import the Artist class. Add import statements to main.py to import the Artist and Artwork classes. Ex: If the input is: Pablo Picasso 1981 1973 Three Musicians 1921 the output is: Artist: Pablo Picasso (188- 1973) Title: Three Musicians, 1921 Il the input is: Brice Marden 1935 Distan Muses C zy 12.13. LAB Artwork lab x C Czy 12.14. LAB Guess Thei - v - 1 x > > https://lean.zyliacks.com/zytco DREXELENGR131 Kandasamy Winter 2020/chapter/12/section/13 = zyBooks My library > FNGR 131. Introductory Programming for Fngineers homo> 12 13:1 AB Artwork label (modules) zyBooks cata og Hop FAQ Kylo cary - LA RIVITY 12131:11B Artwork label (modules) 6/10 Current file: main.py - Load default template... 1 2 TODO: Import Artist fron Artist.py and Artwork from Artwor.pl 11 nana_ - ain : Laser Artist narreirput) User birlit year - int(input) ISO death yoor - int(input) I ser title - piti user year cealed - inliroul )) 1.5er_artist - Artist (user_artist_nare, user_01th_year, user_death_year) raw_artwork - Altxork(usar_r1t1a, user_year_croatar, user_artist, res_artwork.frirt info) Develop mode Submit mode Run your program as clter as youd like, before submitting for grading. Below, type any needed impul values in the first box, then click Run program and observe the programy's output in the second box. Enter program input (optional) If your code requires input values, provide them here. Run program Input (from above) - main.py (Your program) Output (shown below) C zy 12.13. LAB Artwork lab x C Czy 12.14. LAB Guess Thei - v - 1 x > > https://lean.zyliacks.com/zytco DREXELENGR131 Kandasamy Winter 2020/chapter/12/section/13 = zyBooks My library > FNGR 131. Introductory Programming for Fngineers homo> 12 13:1 AB Artwork label (modules) zyBooks cata og Hop FAQ Kylo cary - RIVITY 12131: LAB Artwork label (modules) 6/10 Current file Artist.py - Load default template... 1 slass Artist: cel _init_(self,nanc-Nonc, birth-@docth-2): Selt. nane nane self birth year-birli soll.cath_yaan ceath vef prin info(self): 11 soll.death_y - 1: print('{:5}, hom :d}'.format(selt. Sane, selt.01-th_year)) alsc: print :S) (:0}-::d})'. Farnati salf.nare,self.birth_year,selt.death_year)) Develop mode Submit mode Run your program as clter as youd like, before submitting for grading. Below, type any needed impul values in the first box, then click Run program and observe the programy's output in the second box. Enter program input (optional) If your code requires input values, provide them here. Run program Input (from above) - main.py (Your program) Output (shown below) C zy 12.13. LAB Artwork lab x C Czy 12.14. LAB Guess Thei - v - 1 x > > https://lean.zyliacks.com/zytco DREXELENGR131 Kandasamy Winter 2020/chapter/12/section/13 = zyBooks My library > FNGR 131. Introductory Programming for Fngineers homo> 12 13:1 AB Artwork label (modules) zyBooks cata og Hop FAQ Kylo cary - CRIVITY 12131: LAB Artwork label (modules) 6/10 Current file: Artwork.py - Load default template... 1 TODO: Iroort Artist from Artist.py 3 Class Artwork: vef inal (sulf, Lille-hone"yer-, artist Artist(): soll.title-t1:1. selt. Year Cratec-year self.arlisl-arlist cet arint into self): print('Artist: ".snd.'' selt.artist.ariat into prinli'iille: : :d}" fornaliself. caule, self, yet created Develop mode Submit mode Run your program as clter as youd like, before submitting for grading. Below, type any needed impul values in the first box, then click Run program and observe the programy's output in the second box. Enter program input (optional) If your code requires input values, provide them here. Run program Input (from above) main.py (Your program) Output (shown below)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases New Opportunities For Connected Data

Authors: Ian Robinson, Jim Webber, Emil Eifrem

2nd Edition

1491930896, 978-1491930892

More Books

Students also viewed these Databases questions