Question: UESTION 38 Write a 4 element Python dictionary object that contains four colors as the names and their values as examples of something that is

UESTION 38

  1. Write a 4 element Python dictionary object that contains four colors as the names and their values as examples of something that is that color. Example: red: apple

    -- Font family --Andale MonoArialArial BlackBook AntiquaComic Sans MSCourier NewGeorgiaHelveticaImpactSymbolTahomaTerminalTimes New RomanTrebuchet MSVerdanaWebdingsWingdings -- Font size --1 (8pt)2 (10pt)3 (12pt)4 (14pt)5 (18pt)6 (24pt)7 (36pt)
    -- Format --HeadingSub Heading 1Sub Heading 2ParagraphFormatted Code -- Font family -- -- Font size --

    Path: p

    Words:0

2 points

QUESTION 39

  1. Write a Python class definition for an Employee object that contains the following elements:

    Attributes:

    • id
    • name
    • wage
    • department

    Methods:

    • Initializer which sets ID, name, and wage
    • Set Name
    • Set Department
    • Get Id
    • Get Name
    • Get Wage
    • Get Department

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!