





def   _SCREAMING_SNAKE_CASE      (	snake_case_		:						str						):
     __magic_name__				=       []
     __magic_name__				=       1

     for i in range(len(snake_case_						)						):
          if i + 1 < len(snake_case_						) and text[i] == text[i + 1]:
               count += 1
          else:
               encoded.append((text[i], count)						)
               __magic_name__				=       1

     return encoded




def   _SCREAMING_SNAKE_CASE      (	snake_case_		:						list						):
     return "".join(char * length for char, length in encoded						)


if __name__ == "__main__":
    from doctest import testmod

    testmod(name='run_length_encode', verbose=True)
    testmod(name='run_length_decode', verbose=True)






from math import pi




def   _SCREAMING_SNAKE_CASE      (	snake_case_		:						float						):
     return degree / (180 / pi)


if __name__ == "__main__":
    from doctest import testmod

    testmod()