question archive Write a Python program that reads a text file called student

Write a Python program that reads a text file called student

Subject:Computer SciencePrice: Bought3

Write a Python program that reads a text file called student.txt. The text file contains: student_ID,student_name and total_marks for each student. Your program should read each student details from the file, calculate the average of total marks and display the student details with highest marks and lowest marks. The program should output the report into a file called output.txt. A sample of source file and output file is given below where the values represent student_ID, student_name, and total_marks. bill.txt: 20181867 Alia 400 20197541 Shamma 421 20183245 Zainab 375 20199876 Noora 456 20185432 Hamda 350 20179807 Fatma 478 output.txt: ********************************************************** Class Report There are total of 6 students The average of total marks is 413 Fatma scored the highest marks as 478 Hamda scored the lowest marks as 350 ***********************************************************

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE