The Student Room Group

Python (Need help on coursework)

Hello , I need help on my coursework. Hope someone can point me in the right direction.

I'm trying to sort my data which is written in excel file in alphabetical order and the score to be presented as highest to lowest but this is for my school work , therefore I'm not sure if I'll be able to use any external packages. I would like some help on what to do as i searched everywhere and got no answer. I would be appreciated if anyone can point me out the direction i need to go at.
Example of data in my excel file.

Name Surname Score
Ketan janaa 3
Example janaa 9
Example2 janaa 0
Example3 janaa 10

These details were written using a python code i created.
Thanks
(edited 9 years ago)
You could save the Excel file as a csv and then use the built in csv module to read it.

Quick Reply

Latest

Trending

Trending