Challenge - #32 - Compress The String! Get link Facebook X Pinterest Email Other Apps November 04, 2020 # Enter your code here. Read input from STDIN. Print output to STDOUT from itertools import groupby result = [( len ( list (c)), int (k)) for k,c in groupby( input ())] print (*result) Read more