code: 
  
  
  def 							SCREAMING_SNAKE_CASE					(  _UpperCAmelCase							,     _UpperCAmelCase				)    ->  int:
  						_a     =			0
  						for ele in arr:
  												total_sum += product_sum(_UpperCAmelCase							,     depth + 1				) if isinstance(_UpperCAmelCase							,     _UpperCAmelCase				) else ele
  						return total_sum * depth
  
  
  def 							SCREAMING_SNAKE_CASE					(  _UpperCAmelCase				)    ->  int:
  						return product_sum(_UpperCAmelCase							,     1				)
  
  
  if __name__ == "__main__":
  		import doctest
  
  		doctest.testmod()
  
  
  
style_context: 
  
  
  from math import pi
  
  
  def 							SCREAMING_SNAKE_CASE					(  _UpperCAmelCase				)    ->  float:
  						return degree / (180 / pi)
  
  
  if __name__ == "__main__":
  		from doctest import testmod
  
  		testmod()
  
  
  