Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Birth Month Flower: Each month has a flower that symbolizes the month of somebod

ID: 657404 • Letter: B

Question

Birth Month Flower: Each month has a flower that symbolizes the month of somebody's birth. Following is the list of birth month flowers for each month.

Month

Flower Name

January

Carnations

February

Primroses

March

Daffodils

April

Sweet peas

May

Hawthorn flowers

June

Roses

July

Water lilies

August

Poppies

September

Asters

October

Calendulas

November

Chrysanthemums

December

Holly flowers

Part(B)

Write a Python script (user interface) that takes first name and date of birth (in mm/dd/yyyy format) from user and then display the birthday wishes by calling the display_birthday_wishes function defined in Part(A).

display_birthday_wishes(name,year,month): person

Month

Flower Name

January

Carnations

February

Primroses

March

Daffodils

April

Sweet peas

May

Hawthorn flowers

June

Roses

July

Water lilies

August

Poppies

September

Asters

October

Calendulas

November

Chrysanthemums

December

Holly flowers

Explanation / Answer

Hello, Here is the solution you were asking for. Since there is no information on the function called display_birthday_wishes in the task description, you will need to add it by yourself.
The script: