Menu

itemProportion()

Added in Version 1.0

itemProportion(listobject, item)

Calculates and returns the proportion with which an item occurs within a list.

listobject must be a list type object. If it is not, TypeError will be raised.

item can be any value of any object type.


Related

Blog: 2013/04/10-progress-report