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

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.