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 ***********************************************************


Homework Essay Writers

Lets Start Working

Plagiarism Free

We use anti-plagiarism software to ensure you get high-quality, unique papers. Besides, our writers have a zero plagiarism mentality

On Time Delivery

Your essay will be delivered strictly within the deadline.  If you have an urgent order, we can do it!

Money Back Guarantee

We offer warranty service, including free revisions, and a right to request a refund incase your expectations are not met!


Our Advantage

  • Say “NO” to plagiarism – FREE plagiarism report as an addition to your paper
  • The lowest prices that fit excellent quality
  • Authorship – you are the one who possesses the paper. We DO NOT re-sale or re-use any of them.


Our Freebies

  • Free Cover Page
  • Free Revisions
  • Free Reference Page
  • Free 24/7 support

Pin It on Pinterest

Share This