Question: General Requirements: Write following program using Python API Specifications: Create folder labtest2_YOUR_STUDENT_ID In the folder create a file labtestpy and following code to the file
General Requirements:
Write following program using Python API
Specifications:
- Create folder labtest2_YOUR_STUDENT_ID
- In the folder create a file labtestpy and following code to the file
import os
PATH = os.path.dirname(os.path.realpath(__file__))
FILE = out.txt
- Write your name and studentID in the first line of the file
- Your script should be able to accept Cars data from the user and add the information in a FILE that will be located in the PATH. Give the option to user to enter more than one car data. (hint: you may ask user how many set of car data they have or ask the user at end of each entry to confirm if they have another input)
- Student Data should include the following in the CSV format
LicensePlate, Make, Model, Color, Year, Price
Example:
ABC123, Ford, Mustang, Red, 1995, 599
- Your application should provide the functionality to display the student data as needed using license plate number.
- Marking scheme:
UI: 3 points
File creation: 3 points
Writing to file: 3 points
Search function: 1 points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
