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
icon
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
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
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
File Input and Output Operations
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage