Question: please please please dont use ai , please also include pseudocode so i can learn from it program 6 _ 2 . py PROGRAM OBJECTIVE

please please please dont use ai, please also include pseudocode so i can learn from it
program6_2.py
PROGRAM OBJECTIVE
The objective of this assignment is to write a Python program that reads a text file and uses the data to create a formatted tabular report. The program should use f-strings and perform any necessary calculations to create the report. The numerical output should be in float format with 2 decimal positions. The report should have columns for each destination variable, with column widths chosen to produce results similar to the example output. Column headings should be included as per the given example. A monospaced font, such as Courier, is recommended to be configured in IDLE settings.
DELIVERABLES
A Python program that reads a text file and generates a formatted table.
The program should use f-strings and perform any necessary calculations.
The program should format numerical output as a float with 2 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
Open the input file using a with statement.
Read the text file (lpsale.txt) created in the previous program (program6_1.py).
Use f-strings 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 2 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 f-strings: The script should make appropriate use of f-strings to format the table.
Numerical formatting: Numerical output should be correctly formatted as a float with 2 decimal places.
Table formatting: The table should be correctly formatted with appropriate column widths and headings matching that of the example output.
EXAMPLE OUTPUT
Album Title Artist(s) Name(s) Discount ($) Total Price after Discount ($)
-------------------------------------------------------------------------------------------------
Dionne Warwick's Golden Hits Dionne Warwick2.7320.02
1989 Taylor Swift3.2319.87
Meet the Beatles! The Beatles3.0020.05

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!