Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Note: Please only use standard python covered in class lectures. Python libraries such as pandas, numpy are not allowed in your work. 1. Write python

image text in transcribed
Note: Please only use standard python covered in class lectures. Python libraries such as pandas, numpy are not allowed in your work. 1. Write python code to generate a csv file that contains student grades from user input. The program should prompt user to enter grade record (student ID, grade). It will continue to prompt for new record until the user specifies an empty record. It will then prompt the user for to enter a filename to save all the records: Enter grade record (press Enter to stop): 00351 9342, 22.5 Enter grade record (press Enter to stop) : 007053869,20 Enter grade record (press Enter to stop): Enter filename to save: hwl.csv Once the filename is entered, a new file with the specified filename will be created with all the records specified by the user. You can use this program to generate input files to the next problem below. (10 points)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions