Question: please please please dont use ai and please include psedocode so i can learn from it thank you program 6 _ 1 . py PROGRAM

please please please dont use ai and please include psedocode so i can learn from it thank you
program6_1.py
PROGRAM OBJECTIVE
Your task is to create a program that maintains a record of vinyl LPs that are on sale in a local record store. The program should use a while loop and file operations to capture and store data related to each LP also known as an album.
DELIVERABLES
A Python program named program6_1.py that captures and stores data about vinyl LPs that are on sale.
An output file named lpsale.txt containing the recorded data.
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 output file using a with statement.
Start a while loop that continues until the user presses Enter (or Return on a Mac) for the LP title.
Prompt the user for the following information about each LP:
LP Title: The title of the LP.Artist(s) Name(s): The name(s) of the artist(s).Regular Price: The regular price of the LP (float).Discount (%): The discount on the LP during the sale (integer).
After capturing the details for each LP, append the data to a file named lpsale.txt, with each piece of data on its own line.
Once the user presses Enter (or Return on a Mac) for the LP title, display the message, The LP sale data has been successfully stored in lpsale.txt.
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:
The accuracy of the data captured and stored.
The correct use of a while loop and file operations.
The correct prompt and capture of user input.
The correct creation and formatting of the lpsale.txt file.
The program should handle input and output correctly, with prompts and output formatted as in the example input/output.
example input/Output
Enter the album's title: Dionne Warwick's Golden Hits
Enter the artist(s) name(s): Dionne Warwick
Enter the regular price: 22.75
Enter the discount in percent: 12
Enter the album's title: 1989
Enter the artist(s) name(s): Taylor Swift
Enter the regular price: 23.10
Enter the discount in percent: 14
Enter the album's title: Meet the Beatles!
Enter the artist(s) name(s): The Beatles
Enter the regular price: 23.05
Enter the discount in percent: 13
Enter the album's title:
The LP sale data has been successfully stored in lpsale.txt.
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
1. Open the input file using a with statement.
2. Read the text file (lpsale.txt) created in the previous program (program6_1.py).
3. Use f-strings along with any necessary calculations to create a table.
4. Each row of the table should correspond to a destination, with columns as indicated in the example output.
5. Format numerical output as a float with 2 decimal places. \(\$ \) signs are not required.
6. 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
Taylor Swift
please please please dont use ai and please

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!