Question: A Python program that reads a text tile and generates a tormatted table. The program should use f - strings and perform any necessary calculations.
A Python program that reads a text tile and generates a tormatted table.
The program should use fstrings and perform any necessary calculations.
The program should format numerical output as a float with decimal places.
This program shall also meet all requirements stated in the assignment requirements section above and the evaluation criteria stated in
the section below and will be scored using the assignment rubric.
INSTRUCTIONS
Read the text file lpsaletxt created in the previous program programpy
Use fstrings along with any necessary calculations to create a table.
Each row of the table should correspond to a destination, with columns as indicated in the example output.
Format numerical output as a float with decimal places. $ signs are not required.
Choose your own column widths but include column headings as shown in the example output.
ADDITIONAL EVALUATION CRITERIA
In addition to the requirements for this module stated in the section above, your program will also be evaluated on the following criteria:
Correctness of the script: The script should correctly read the text file and generate the desired table.
Use of fstrings: The script should make appropriate use of fstrings to format the table.
Numerical formatting: Numerical output should be correctly formatted as a float with decimal places.
Table formatting: The table should be correctly formatted with appropriate column widths and headings matching that of the example
output.
EXAMPLE OUTPUT
abur Titie
Artiat Naxe
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
