






"""simple docstring"""







import math

def _a			(		_snake_case							):







      """simple docstring"""






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

def _a			(		):







      """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()











"""simple docstring"""







import numpy as np

def _a			(		_snake_case							):







      """simple docstring"""






      return 1 / (1 + np.exp(-vector							))


if __name__ == "__main__":
  import doctest

  doctest.testmod()



