I am loading numbers from a text file into a list, and in that regard, everything works fine! But now I need to know how many times each number occured in the list. Below is my whole program that I have pieced together by searching this site.
row = []
textfile = open('take5_3.txt', 'r')
yourResult = [line.split('-') for line in textfile]
row.append(yourResult)
print (yourResult)
Any time I put some sort of line that is suppose to count my result, I get one because it is only counting the list and not the items within the list.