I have a text file (tackles.txt) that contains basic stats on high school football players - so far it is just last name and number of tackles. For example:
Jones 2.3
Smith 4.6
Dillon 7.8
How can I read that file and come up with the average number of tackles for all players? Should I try to create a list? A dictionary? I am new to python.
I would like to eventually add more data to the file - such as name tackles position year etc.
thanks in advance.