Milestone #1 - Ask Quiz Type In a file called main.py, implement a program that asks the user for a quiz type and prints the file name for that quiz type. The program should have one input prompt the integer value of the personality quiz number. Your program should print the welcome message and the list of the personality quizzes, ask for the test number, and then print the file name. You are required to use the provided dictionary with the personality quizzes names. The list of the personality quizzes should be printed in alphabetical order. See example below. Welcome to the Personality Quiz! What type of Personality Quiz do you want to run? 1 BabyAnimals 2- Brooklyn99 3 Disney 4 Hogwarts 5 MyersBriggs 6 SesameStreet 7 - StarWars 8 Vegetables
Milestone #1 - Ask Quiz Type In a file called main.py, implement a program that asks the user for a quiz type and prints the file name for that quiz type. The program should have one input prompt the integer value of the personality quiz number. Your program should print the welcome message and the list of the personality quizzes, ask for the test number, and then print the file name. You are required to use the provided dictionary with the personality quizzes names. The list of the personality quizzes should be printed in alphabetical order. See example below. Welcome to the Personality Quiz! What type of Personality Quiz do you want to run? 1 BabyAnimals 2- Brooklyn99 3 Disney 4 Hogwarts 5 MyersBriggs 6 SesameStreet 7 - StarWars 8 Vegetables
Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter7: File Handling And Applications
Section: Chapter Questions
Problem 15RQ
Related questions
Question
![Milestone #1 - Ask Quiz Type
In a file called main.py, implement a program that asks the user for a quiz type and prints the file name for that quiz type. The program
should have one input prompt: the integer value of the personality quiz number.
Your program should print the welcome message and the list of the personality quizzes, ask for the test number, and then print the file
name. You are required to use the provided dictionary with the personality quizzes names. The list of the personality quizzes should be
printed in alphabetical order. See example below.
Welcome to the Personality Quiz!
What type of Personality Quiz do you want to run?
1 BabyAnimals
2 Brooklyn99
3 Disney
4 Hogwarts
5 MyersBriggs
6 Sesame Street
7 - StarWars
8 - Vegetables](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fda22bb93-89e0-43b0-b495-0a6067b20da3%2Fec1dc590-b9a3-4d71-b722-b707f42df2f5%2Fwxqfj2x_processed.png&w=3840&q=75)
Transcribed Image Text:Milestone #1 - Ask Quiz Type
In a file called main.py, implement a program that asks the user for a quiz type and prints the file name for that quiz type. The program
should have one input prompt: the integer value of the personality quiz number.
Your program should print the welcome message and the list of the personality quizzes, ask for the test number, and then print the file
name. You are required to use the provided dictionary with the personality quizzes names. The list of the personality quizzes should be
printed in alphabetical order. See example below.
Welcome to the Personality Quiz!
What type of Personality Quiz do you want to run?
1 BabyAnimals
2 Brooklyn99
3 Disney
4 Hogwarts
5 MyersBriggs
6 Sesame Street
7 - StarWars
8 - Vegetables
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage