def rle(str): z="" for i in str: if i in z: print("") else: z=z+i for i in z: ch="" c=0 k=0 while k