Question: Python Coding Question Holiday name generator. Write a program, either graphical or text-based, that tells the user their holiday name based on the below. Make

Python Coding Question

Holiday name generator. Write a program, either graphical or text-based, that tells the user their holiday name based on the below. Make sure the capitalization comes out right!

Your holiday name is Jingle[A] [B]muffin [C] where

[A] is the first four letters of your first name;

[B] is the last four letters of your middle name;

[C] corresponds to your birth month in the table below:

Month Name
1 (Jan) Sprinkles
2 (Feb) Gingerbread
3 (Mar) Twinkletoes
4 (Apr) McJingles
5 (May) Rosey-Cheeks
6 (Jun) Glitter-Eyes
7 (Jul) Hollypoo
8 (Aug) Snickerdoodle
9 (Sep) Jolly-Face
10 (Oct) Mistletoe
11 (Nov) Sleighbells
12 (Dec) Chestnuts

For example, my name is Harvey Scott Birch and I was born in October, so my holiday name would be Jingleharv Scotmuffin Mistletoe. (Hint: use slicing for [A] and [B]. For [C], put all the possible last names in a list and have the user enter the number of their month; use that to index the list.)

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!