
import math


def    A (      lowercase				)     ->						str:
		'''simple docstring'''

		UpperCamelCase						=  0
		UpperCamelCase						=  0
		while num > 0:
				UpperCamelCase						=  num % 8
				UpperCamelCase						=  octal + (remainder * math.floor(math.pow(10					, lowercase				)				))
				counter += 1
				UpperCamelCase						=  math.floor(num / 8				)  # basically /= 8 without remainder if any
				# This formatting removes trailing '.0' from `octal`.
		return f'''0o{int(lowercase				)}'''


def    A (      )     ->						None:
		'''simple docstring'''

		print('\n2 in octal is:'				)
		print(decimal_to_octal(2				)				)  # = 2
		print('\n8 in octal is:'				)
		print(decimal_to_octal(8				)				)  # = 10
		print('\n65 in octal is:'				)
		print(decimal_to_octal(65				)				)  # = 101
		print('\n216 in octal is:'				)
		print(decimal_to_octal(216				)				)  # = 330
		print('\n512 in octal is:'				)
		print(decimal_to_octal(512				)				)  # = 1000
		print('\n'				)


if __name__ == "__main__":
					main()


def    A (      lowercase					, lowercase				)     ->						str:
		'''simple docstring'''

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

		UpperCamelCase						=  str(bin(lowercase				)				)[2:]  # remove the leading "0b"
		UpperCamelCase						=  str(bin(lowercase				)				)[2:]  # remove the leading "0b"

		UpperCamelCase						=  max(len(lowercase				)					, len(lowercase				)				)

		return "0b" + "".join(
		    str(int(char_a != char_b				)				)
		    for char_a, char_b in zip(a_binary.zfill(lowercase				)					, b_binary.zfill(lowercase				)				)				)


if __name__ == "__main__":
					import doctest

					doctest.testmod()
