mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
362 B
362 B
icon | label |
---|---|
package | collections |
collections.Counter(iterable)
Return a dict
containing the counts of each element in iterable
.
collections.deque
A double-ended queue.
collections.defaultdict
A dictionary that returns a default value when a key is not found.
Source code
:::code source="../../python/collections.py" :::