@@ -0,0 +1,576 @@
+from stack import Stack%0A%0Adef convertToBinary(value):%0A  remainder = Stack()%0A%0A  while value %3E 0:%0A    rem = value %25 2%0A    remainder.push(rem)%0A    value = value // 2%0A%0A  binary = ''%0A  while not remainder.isEmpty():%0A    binary = binary + str(remainder.pop())%0A  %0A  return binary%0A%0Adef myconvertTobinary(value):%0A  remainder = Stack()%0A%0A  while value %3E 0:%0A    rem = value %25 8%0A    remainder.push(rem)%0A    value = value // 8%0A%0A  binary = ''%0A  while not remainder.isEmpty():%0A    binary = binary + str(remainder.pop())%0A%0A  return binary%0A%0A%0Aprint convertToBinary(43)%0Aprint myconvertTobinary(25)%0A

Add python script to convert decimal value to binary