MarksAnalyzer is a CLI-based Python program that analyzes student marks from a file and generates statistical insights such as highest and lowest scores, average, median, standard deviation, and ranked scores. The results can be saved in a report file.
β Reads student marks from a file (marks.txt)
β Calculates highest, lowest, average, median, and standard deviation
β Sorts and ranks the marks
β Saves the analysis in a report file
β Supports Unicode (UTF-8) for better formatting
π MarksAnalyzer βββ π marks.txt (Sample marks file) βββ π analysis_report.txt (Generated after running the script) βββ π MarksAnalyzer.py (Python script) βββ π README.md (Documentation)
- Clone the repository
git clone https://github.com/Burhanali2211/MarksAnalyzer.git cd MarksAnalyzer
``
π Marks Analysis Report π
Sorted Marks: [76, 78, 84, 85, 88, 89, 90, 91, 92, 95]
Highest Score: 95
Lowest Score: 76
Average Score: 86.80
Median Score: 88.50
Standard Deviation: 5.94#1 β 95
#2 β 92
#3 β 91
#4 β 90
#5 β 89
#6 β 88
#7 β 85
#8 β 84
#9 β 78
#10 β 76