

'''simple docstring'''

def 							_UpperCamelCase				(   lowerCAmelCase__:					Tuple		,lowerCAmelCase__:					List[Any]		,lowerCAmelCase__:					Optional[int]		,lowerCAmelCase__:					Union[str, Any]		,lowerCAmelCase__:					List[str]		,lowerCAmelCase__:					Optional[int]   )      -> Dict:
							if index == r:
														for j in range(lowerCAmelCase__   ):
																					print(data[j]		,end=' '   )
														print(' '   )
														return
							#  When no more elements are there to put in data[]
							if i >= n:
														return
							# current is included, put next at next location
							SCREAMING_SNAKE_CASE_				=				arr[i]
							combination_util(lowerCAmelCase__		,lowerCAmelCase__		,lowerCAmelCase__		,index + 1		,lowerCAmelCase__		,i + 1   )
							# current is excluded, replace it with
							# next (Note that i+1 is passed, but
							# index is not changed)
							combination_util(lowerCAmelCase__		,lowerCAmelCase__		,lowerCAmelCase__		,lowerCAmelCase__		,lowerCAmelCase__		,i + 1   )
							# The main function that prints all combinations
							# of size r in arr[] of size n. This function
							# mainly uses combinationUtil()




def 							_UpperCamelCase				(   lowerCAmelCase__:					List[Any]		,lowerCAmelCase__:					Tuple		,lowerCAmelCase__:					Any   )      -> List[str]:
							# A temporary array to store all combination one by one
							SCREAMING_SNAKE_CASE_				=				[0] * r
							# Print all combination using temporary array 'data[]'
							combination_util(lowerCAmelCase__		,lowerCAmelCase__		,lowerCAmelCase__		,0		,lowerCAmelCase__		,0   )


if __name__ == "__main__":
							# Driver code to check the function above
							SCREAMING_SNAKE_CASE							:				List[str]     	=			[10, 20, 30, 40, 50]
							print_combination(arr, len(arr), 3)
							# This code is contributed by Ambuj sahu








'''simple docstring'''

def 							_UpperCamelCase				(   lowerCAmelCase__:					int		,lowerCAmelCase__:					int   )      -> str:
							if a < 0 or b < 0:
														raise ValueError('the value of both inputs must be positive'   )
							SCREAMING_SNAKE_CASE_				=				str(bin(lowerCAmelCase__   )   )[2:]  # remove the leading "0b"
							SCREAMING_SNAKE_CASE_				=				str(bin(lowerCAmelCase__   )   )[2:]
							SCREAMING_SNAKE_CASE_				=				max(len(lowerCAmelCase__   )		,len(lowerCAmelCase__   )   )
							return "0b" + "".join(
							    str(int('1' in (char_a, char_b)   )   )
							    for char_a, char_b in zip(a_binary.zfill(lowerCAmelCase__   )		,b_binary.zfill(lowerCAmelCase__   )   )   )


if __name__ == "__main__":
							import doctest

							doctest.testmod()





