code: def      SCREAMING_SNAKE_CASE_  (		snake_case__							)  ->			list:
  							lowerCAmelCase				=	[]
  							lowerCAmelCase				=	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)							)
  																					lowerCAmelCase				=	1
  
  							return encoded
  
  def      SCREAMING_SNAKE_CASE_  (		snake_case__							)  ->			str:
  							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)
  
  
  
  
style_context: import math
  
  def      SCREAMING_SNAKE_CASE_  (		snake_case__							)  ->			float:
  							lowerCAmelCase				=	math.log(2     ,						1_0							) * number
  							lowerCAmelCase				=	round((log_number - int(snake_case__							))     ,						1_5							)
  
  							return difference
  
  def      SCREAMING_SNAKE_CASE_  (		snake_case__ = 6_7_8_9_1_0							)  ->			int:
  							lowerCAmelCase				=	9_0
  							lowerCAmelCase				=	0
  
  							lowerCAmelCase				=	math.log(1.23     ,						1_0							)
  							lowerCAmelCase				=	math.log(1.24     ,						1_0							)
  							lowerCAmelCase				=	0
  
  							while position < number:
  														lowerCAmelCase				=	log_difference(snake_case__							)
  
  														if difference >= upper_limit:
  																					power_iterator += 9_3
  
  														elif difference < lower_limit:
  																					power_iterator += 1_9_6
  
  														else:
  																					lowerCAmelCase				=	power_iterator
  																					power_iterator += 1_9_6
  																					position += 1
  
  							return previous_power
  
  
  if __name__ == "__main__":
  	import doctest
  
  	doctest.testmod()
  
  	print(f'{solution() = }')
  
  
  
  