Okay so this isn't a specific question; I just need some guidelines as to how to go about doing a final project for my class in python, version 2.7. What the program basically has to do is import information from 2 text files, one with just a list of books and their author seperated by a comma and lines:
ex:
Douglas Adams,The Hitchhiker's Guide To The Galaxy
Richard Adams,Watership Down
Mitch Albom,The Five People You Meet in Heaven
and then a file of users and their name on one line and with their rating of the 55 total books on the next(text box isn't big enough to put all ratings on one line):
ex:
Ben
5 0 0 0 0 0 0 1 0 1 -3 5 0 0 0 5 5 0 0 0 0 5 0 0 0 0 0 0 0 0 1 3 0 1 0 -5 0 0 5 5 0 5 5 5 0 5 5 0 0 0 5 5 5 5 -5
Moose
5 5 0 0 0 0 3 0 0 1 0 5 3 0 5 0 3 3 5 0 0 0 0 0 5 0 0 0 0 0 3 5 0 0 0 0 0 5 -3 0 0 0 5 0 0 0 0 0 0 5 5 0 3 0 0
Anyways, the actual project has you use an algorithm provided by the instructor to compare the users interests in books. You input a user and it searches all of the other 87 users by multiplying their rating of the book and adding them all together. For example, for the first book Ben has a rating of 5 and so does Moose, so the score of similarity for Moose is 25, you do this for every book multiplying the inputted users ratings with all of the other users and whomever has the closest similarity score, you output them and refer 5 books to the user. Basically books that the closest similarity score user read and rated high but the inputted user hasn't read. Okay now after that huge wall of text which I'm sorry about. I understand what I have to do but I just cannot figure out a simple way to do this task, I'm not looking for someone to do the project for me or anything like that its just that this project is worth a large portion of our grade and I don't even know where to start. If anybody could even lead me in the right direction as to what type of data structures would be easiest to accomplish this task I would be extremely grateful, again sorry for such a long post but I'm desperate.