0% found this document useful (0 votes)
3 views1 page

Read This File

The document describes a Python script named 'markssheet.py' that processes a list of student marks and performs various statistical operations. It includes functionalities such as printing the list, calculating maximum, minimum, total, and average marks, and sorting the list. The script outputs the results sequentially, displaying each student's marks and contains minor typographical errors in comments.

Uploaded by

abcx27936
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Read This File

The document describes a Python script named 'markssheet.py' that processes a list of student marks and performs various statistical operations. It includes functionalities such as printing the list, calculating maximum, minimum, total, and average marks, and sorting the list. The script outputs the results sequentially, displaying each student's marks and contains minor typographical errors in comments.

Uploaded by

abcx27936
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

read this file

The attached file "[Link]" is a Python script that processes a list of student marks,
performing basic statistical operations and printing results. [1]

Script Overview
It defines a list marks = [65, 72, 80, 90, 55, 25] and demonstrates common list operations like
printing the list, its length, appending a value (78), finding max/min, calculating sum and
average, checking for a specific value (90), sorting, and iterating to display each student's
marks. [1]

Key Operations
Prints initial list and length (6 students). [1]
Appends 78, making it . [1]
Computes max (90), min (25), total (465), and average (~66.43). [1]
Confirms a student scored 90 and sorts the list. [1]

Sample Output Structure


Running it would produce sequential prints like:

[65, 72, 80, 90, 55, 25]


6
[65, 72, 80, 90, 55, 25, 78]
Highest marks 90
lowest marks 25
total marks of all students are 465
...
Student 1 marks: 25
Student 7 marks: 90

Note minor typos in comments (e.g., "avege") and commented-out loop. [1]

1. [Link]

You might also like