Specific Prompt
Read in the included data file and write it to a file named sorted_data.txt with the same data, but order the columns in ascending alphabetical order.
The data comes from a .txt file and is randomly generated data going up to 1000
How would I approach writing this code?
Attachment contains fake data from https://mockaroo.com/
Read in the included data file and write it to a file named sorted_data.txt with the same data, but order the columns in ascending alphabetical order.
The data comes from a .txt file and is randomly generated data going up to 1000
How would I approach writing this code?
Attachment contains fake data from https://mockaroo.com/
Attachments
Last edited by a moderator: