Question: Function ( save _ avg _ score ) . The function will accept four arguments ( name , total _ score,avg _ score and fileObj

Function (save_avg_score). The function will accept four arguments (name, total_score,avg_score and fileObj). The first argument is a string representing students name, second and third arguments are float representing the students total and average score, and the fourth argument is a file object. The function will write name and total_score and avg_score as a single record to fileObj ( use space as a delimiter). Note that fileObj is a file object and there is no need to use open function for it

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 Databases Questions!