Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Instructions Download the input _ file.txt file into your PC ' s working directory ( or the folder ) . The file is available in

Instructions Download the input_file.txt file into your PC's working directory (or the folder). The file is available in Programming Assignment 2(instructions and submission) section. You need to read the data from the input file (named as input_file). The data consists of multiple-choice questions. You Must save data in a dictionary data structure You should randomly reorder the choices for each question. You should write the reordered data into a new file, named as new_file. For example, the first question in the input file is What is the capital of Australia? (a) Canberra, (b) Perth, (c) Sydney, (d) Melbourne And here is what it might look like, for example, after reordering the choices for each question What is the capital city of Australia? (a) Sydne

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions