Python Program to process student's Result data