Q:

Read each line in a text file, store the values in a list, and compute scores

Read each line in a text file, store the values in a list, and compute scores

A:

The best approach this problem is to list all the functions you need to do the task. A typical example is:

Read file.
Read list.
Take list and get each string delimited by space.
Store string into an array.
...

Then go to the Python website and lookup how to do each function.
Example: To do input and output function in python:
https://docs.python.org/2/tutorial/inputoutput.html
Also, you can look up function by asking google. Google will then point you to answers to your questions:
Q: How to find mean of a list?
A: Finding the average of a list
If you do this enough times, eventually you will be able to write a problem that solves the problem listed.
Good Luck!

