Page 1 of 1

For this task, you are to write a simple phyton program to read data from a text file, reorder the data, and then write

Posted: Sun May 15, 2022 2:03 pm
by answerhappygod
For this task, you are to write a simple phyton program to read
data from a text file, reorder the data, and then write the
reordered data into a new file.
Instructions
For example, the first question in the input file is
And here is what it might look like, for example, after
reordering the choices for each question
Requirements
To achieve full marks for this task, you must follow the
instructions above when writing your solution. Additionally, your
solution must adhere to the following requirements:
For This Task You Are To Write A Simple Phyton Program To Read Data From A Text File Reorder The Data And Then Write 1
For This Task You Are To Write A Simple Phyton Program To Read Data From A Text File Reorder The Data And Then Write 1 (14.3 KiB) Viewed 60 times
input_file.txt x 1 1. What is the capital city of Australia? 2 (a) Canberra 3 (b) Perth 4 (c) Sydney 5 (d) Melbourne 6 7 2. Australia is 8 (a) the largest continent 9 (6) an island continent 10 (c) the second largest continent 11 12 3. Which of the following is not an Australian city? 13 (a) Hobart 14 (6) Brisbane 15 (c) Auckland 16 (d) Darwin 17 18 4. How many states in Australia? 19 (a) 3 20 (6) 4 21 (C) 5 22 (d) 6 23 (e) 7