Run-Length encoding in Python using itertools | count adjacent duplicates

Published --