title: Python - Count occurrences of certain ranges in a list
body: <p>So basically I want to count the number of occurrences a floating point appears in a given list.  For example: a list of grades (all scores out of 100) are inputted by the user and they are sorted in groups of ten.  How many times do scores from 0-10, 10-20, 20-30.. etc) appear?  Like test score distribution.  I know I can use the count function but since I'm not looking for specific numbers I'm having trouble.  Is there a away to combine the count and range?  Thanks for any help.</p>