






def      lowercase__      (     __snake_case    :							List[str]     ,       __snake_case    :							str     ,       __snake_case    :							int     ,       __snake_case    :							Union[str, Any]     ,       __snake_case    :							Tuple     ,       __snake_case    :							str  ):


					'''simple docstring'''


					if index == r:
										for j in range(__snake_case  ):
															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
					UpperCAmelCase_    :      Tuple            =						arr[i]
					combination_util(__snake_case     ,       __snake_case     ,       __snake_case     ,       index + 1     ,       __snake_case     ,       i + 1  )
					# current is excluded, replace it with
					# next (Note that i+1 is passed, but
					# index is not changed)
					combination_util(__snake_case     ,       __snake_case     ,       __snake_case     ,       __snake_case     ,       __snake_case     ,       i + 1  )
					# The main function that prints all combinations
					# of size r in arr[] of size n. This function
					# mainly uses combinationUtil()




def      lowercase__      (     __snake_case    :							List[str]     ,       __snake_case    :							List[str]     ,       __snake_case    :							Dict  ):


					'''simple docstring'''


					UpperCAmelCase_    :      Tuple            =						[0] * r
					# Print all combination using temporary array 'data[]'
					combination_util(__snake_case     ,       __snake_case     ,       __snake_case     ,       0     ,       __snake_case     ,       0  )


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














def      lowercase__      (     __snake_case    :							int     ,       __snake_case    :							int  ):


					'''simple docstring'''


					if a < 0 or b < 0:
										raise ValueError('the value of both inputs must be positive'  )

					UpperCAmelCase_    :      Tuple            =						str(bin(__snake_case  )  )[2:]  # remove the leading "0b"
					UpperCAmelCase_    :      Union[str, Any]            =						str(bin(__snake_case  )  )[2:]  # remove the leading "0b"

					UpperCAmelCase_    :      List[Any]            =						max(len(__snake_case  )     ,       len(__snake_case  )  )

					return "0b" + "".join(
					    str(int(char_a == '1' and char_b == '1'  )  )
					    for char_a, char_b in zip(a_binary.zfill(__snake_case  )     ,       b_binary.zfill(__snake_case  )  )  )


if __name__ == "__main__":
		import doctest

		doctest.testmod()






