code: 
  
  
  
  from __future__ import annotations
  
  def     a						(      _lowercase   :     Any       )     ->Union[str, Any]:
  		assert (
  		    isinstance(__A ,						__A       ) and mask > 0
  		), F"""mask needs to be positive integer, your input {mask}"""
  		UpperCamelCase__         =	[]
  		UpperCamelCase__         =	mask
  
  		while submask:
  				all_submasks.append(__A       )
  				UpperCamelCase__         =	(submask - 1) & mask
  
  		return all_submasks
  
  
  if __name__ == "__main__":
  				import doctest
  
  				doctest.testmod()
  
  
  
  
  
  
style_context: 
  
  
  
  
  
  def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
  		return round((float(_lowercase       ) * 9 / 5) + 3_2 ,						_lowercase       )
  
  def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
  		return round(float(_lowercase       ) + 273.15 ,						_lowercase       )
  
  def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
  		return round((float(_lowercase       ) * 9 / 5) + 491.67 ,						_lowercase       )
  
  def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
  		return round((float(_lowercase       ) - 3_2) * 5 / 9 ,						_lowercase       )
  
  def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
  		return round(((float(_lowercase       ) - 3_2) * 5 / 9) + 273.15 ,						_lowercase       )
  
  def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
  		return round(float(_lowercase       ) + 459.67 ,						_lowercase       )
  
  def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
  		return round(float(_lowercase       ) - 273.15 ,						_lowercase       )
  
  def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
  		return round(((float(_lowercase       ) - 273.15) * 9 / 5) + 3_2 ,						_lowercase       )
  
  def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
  		return round((float(_lowercase       ) * 9 / 5) ,						_lowercase       )
  
  def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
  		return round((float(_lowercase       ) - 491.67) * 5 / 9 ,						_lowercase       )
  
  def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
  		return round(float(_lowercase       ) - 459.67 ,						_lowercase       )
  
  def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
  		return round((float(_lowercase       ) * 5 / 9) ,						_lowercase       )
  
  def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
  		return round((float(_lowercase       ) * 1.25 + 273.15) ,						_lowercase       )
  
  def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
  		return round((float(_lowercase       ) * 2.25 + 3_2) ,						_lowercase       )
  
  def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
  		return round((float(_lowercase       ) * 1.25) ,						_lowercase       )
  
  def     a						(      _lowercase   :     float ,						_lowercase   :     int = 2       )     ->float:
  		return round((float(_lowercase       ) * 2.25 + 3_2 + 459.67) ,						_lowercase       )
  
  
  if __name__ == "__main__":
  				import doctest
  
  				doctest.testmod()
  
  
  
  
  
  