dudu-calculator
dudu is a simple Python package to find common elements in a given list and print the counts of each element and the number of occurrences.
You can install the package via pip
or poetry
:
pip install git+https://github.com/isura-nimalasiri/dudu.git
poetry add git+https://github.com/isura-nimalasiri/dudu.git
dudu apple banana apple orange banana banana
Output
banana: 3
apple: 2
orange: 1