Question: Create a random name generator for a new pet! Write a function that asks the user for 6 names that will be saved in a

Create a random name generator for a new pet! Write a function that asks the user for 6 names that will be saved in a list. Then, write another function that randomly choose one of those names from the list. Then, in the main() function, print the name that was chosen. You must use the random library to achieve this.

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 Programming Questions!