Question: In this assignment, you will be writing a console-based avatar creation tool. The program that you build will allow the user to build a custom






In this assignment, you will be writing a console-based avatar creation tool. The program that you build will allow the user to build a custom avatar, or select from 3 pre-designed ones. The avatars that this program will create will not be of just a face, but rather, an avatar body. All of the interaction for this program will happen on the command-line. Part of the purpose of this PA is to get you to use and better understand functions, parameters, if-statements, and while-loops. Name your program avatar.py. Program Behavior The program will begin with a title and then a prompt to select / create an avatar: mm mm m AVATAR = = = = = Select an Avatar or create your own This prompt will wait user input. At this point, the user can do one of several things: Type exit to end the program without printing out an avatar. Type custom to begin the custom avatar creation interface. Choose from one of three pre-defined avatars. The names of the three pre-defined avatars are Jeff), Jane, and Chris. If anything other than exit, custom Jeff, Jane, or Chris is entered, the program will just repeat the question until a valid input is entered. After the name is entered, the avatar is printed and then the program ends. . Jeff, Jane, and Chris are shown below. If one of these is selected, you should print out this exact character and then the program can end. Jeff Jane Chris / ---- / """""" V | 1 1 "* "! " TUUL 1 V 1 1 V I-X-1 Q====|---==== I-X-1 I-X-1 I-X-1 I-X-1 HHHHH TTTTI --- ITTTT I-X-1 I-X-1 HHHHH I-X-1 @WWWWI --- I WWWW I-X-1 1-X-1 - HHHHH /// slll> #HHH #HHH Take a close look at the above avatars. There are many similarities, but also some key differences. The differences of note are: All of then have a similar cap on, but one is a top-hat, one is a cam to the right, and the other is facing forward. They all have the same basic face structure, but with two types of hair (single-quotes and double-quotes) showing below the hat, and differing eyes. Similar neck/torso style, but with varying height. Similar arms, but with varying characters used. Similar legs, but with varying lengths and shoes. If custom is selected, then the program should prompt the user for a number of look customization options. There are 7 total options to select, and the program should ask for the inputs one-by-one. The prompts should look as follows (example values shown after the question-marks). Select an Avatar or create your own: custom Answer the following questions to create a custom avatar Hat style ? right Character for eyes ? Long hair (True/False) ? False Arm style ? P Torso length ? 3 Leg Length (1-4) ? 3 3 Shoe Look ? This sequence of inputs should produce this avatar: AI 1 V 1 / PPPPI ---IPPPPO I-X-1 1-X-1 T-X-1 HHHHH MW slll> #HHH #HHH Take a close look at the above avatars. There are many similarities, but also some key differences. The differences of note are: All of then have a similar cap on, but one is a top-hat, one is a cam to the right, and the other is facing forward. They all have the same basic face structure, but with two types of hair (single-quotes and double-quotes) showing below the hat, and differing eyes. Similar neck/torso style, but with varying height. Similar arms, but with varying characters used. Similar legs, but with varying lengths and shoes. If custom is selected, then the program should prompt the user for a number of look customization options. There are 7 total options to select, and the program should ask for the inputs one-by-one. The prompts should look as follows (example values shown after the question-marks). Select an Avatar or create your own: custom Answer the following questions to create a custom avatar Hat style ? right Character for eyes ? Long hair (True/False) ? False Arm style ? P Torso length ? 3 Leg Length (1-4) ? 3 3 Shoe Look ? This sequence of inputs should produce this avatar: AI 1 V 1 / PPPPI ---IPPPPO I-X-1 1-X-1 T-X-1 HHHHH MW