be lengthy and boring affair fortunatelyyou know some python here is what the program does creates different quizzes creates multiple-choice questions for each quizin random order provides the correct answer and three random wrong answers for each questionin random order writes the quizzes to text files writes the answer keys to text files this means the code will need to do the following store the states and their capitals in dictionary call open()write()and close(for the quiz and answer key text files use random shuffle(to randomize the order of the questions and multiple-choice options step store the quiz data in dictionary the first step is to create skeleton script and fill it with your quiz data create file named randomquizgenerator pyand make it look like the following#python randomquizgenerator py creates quizzes with questions and answers in random orderalong with the answer key import random the quiz data keys are states and values are their capitals capitals {'alabama''montgomery''alaska''juneau''arizona''phoenix''arkansas''little rock''california''sacramento''colorado''denver''connecticut''hartford''delaware''dover''florida''tallahassee''georgia''atlanta''hawaii''honolulu''idaho''boise''illinois''springfield''indiana''indianapolis''iowa''des moines''kansas''topeka''kentucky''frankfort''louisiana''baton rouge''maine''augusta''maryland''annapolis''massachusetts''boston''michigan''lansing''minnesota''saint paul''mississippi''jackson''missouri''jefferson city''montana''helena''nebraska''lincoln''nevada''carson city''new hampshire''concord''new jersey''trenton''new mexico''santa fe''new york''albany''north carolina''raleigh''north dakota''bismarck''ohio''columbus''oklahoma''oklahoma city''oregon''salem''pennsylvania''harrisburg''rhode island''providence''south carolina''columbia''south dakota''pierre''tennessee''nashville''texas''austin''utah''salt lake city''vermont''montpelier''virginia''richmond''washington''olympia''west virginia''charleston''wisconsin''madison''wyoming''cheyenne'generate quiz files