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 ***********************************************************
Why Choose Us
- 100% non-plagiarized Papers
- 24/7 /365 Service Available
- Affordable Prices
- Any Paper, Urgency, and Subject
- Will complete your papers in 6 hours
- On-time Delivery
- Money-back and Privacy guarantees
- Unlimited Amendments upon request
- Satisfaction guarantee
How it Works
- Click on the “Place Order” tab at the top menu or “Order Now” icon at the bottom and a new page will appear with an order form to be filled.
- Fill in your paper’s requirements in the "PAPER DETAILS" section.
- Fill in your paper’s academic level, deadline, and the required number of pages from the drop-down menus.
- Click “CREATE ACCOUNT & SIGN IN” to enter your registration details and get an account with us for record-keeping and then, click on “PROCEED TO CHECKOUT” at the bottom of the page.
- From there, the payment sections will show, follow the guided payment process and your order will be available for our writing team to work on it.