



"""simple docstring"""






from __future__ import annotations






def      snake_case__   (		__lowerCamelCase				:    int							,		__lowerCamelCase				:    int	):
			"""simple docstring"""
			lowerCamelCase__		:		list[list[int]]			=[]
			create_all_state(1							,		__lowerCamelCase							,		__lowerCamelCase							,		[]							,		__lowerCamelCase	)
			return result






def      snake_case__   (		__lowerCamelCase				:    int							,		__lowerCamelCase				:    int							,		__lowerCamelCase				:    int							,		__lowerCamelCase				:    list[int]							,		__lowerCamelCase				:    list[list[int]]							,		):
			"""simple docstring"""
			if level == 0:
						total_list.append(current_list[:]	)
						return

			for i in range(__lowerCamelCase							,		total_number - level + 2	):
						current_list.append(__lowerCamelCase	)
						create_all_state(i + 1							,		__lowerCamelCase							,		level - 1							,		__lowerCamelCase							,		__lowerCamelCase	)
						current_list.pop()






def      snake_case__   (		__lowerCamelCase				:    list[list[int]]	):
			"""simple docstring"""
			for i in total_list:
						print(*__lowerCamelCase	)


if __name__ == "__main__":
		_lowercase : List[Any]      						=						4
		_lowercase : Union[str, Any]      						=						2
		_lowercase : Any      						=						generate_all_combinations(n, k)
		print_all_state(total_list)









"""simple docstring"""






from __future__ import annotations

_lowercase : Dict      						=						1.6_021E-19  # units = C






def      snake_case__   (		__lowerCamelCase				:    float							,		__lowerCamelCase				:    float							,		__lowerCamelCase				:    float							,		):
			"""simple docstring"""
			if (conductivity, electron_conc, mobility).count(0	) != 1:
						raise ValueError('''You cannot supply more or less than 2 values'''	)
			elif conductivity < 0:
						raise ValueError('''Conductivity cannot be negative'''	)
			elif electron_conc < 0:
						raise ValueError('''Electron concentration cannot be negative'''	)
			elif mobility < 0:
						raise ValueError('''mobility cannot be negative'''	)
			elif conductivity == 0:
						return (
						    "conductivity",
						    mobility * electron_conc * ELECTRON_CHARGE,
						)
			elif electron_conc == 0:
						return (
						    "electron_conc",
						    conductivity / (mobility * ELECTRON_CHARGE),
						)
			else:
						return (
						    "mobility",
						    conductivity / (electron_conc * ELECTRON_CHARGE),
						)


if __name__ == "__main__":
		import doctest

		doctest.testmod()




