What do you want to save?
Add Code snippet
New code examples
-
Python 2022-02-02 23:36:59
convert integer to binary in python
# Python program to convert decimal to binary # Function to convert Decimal number # to Binary number def decimalToBinary(n): return bin(n).replace("0b", "") # Driver code if __name__ == '__main__': print... Add solution -
Python 2021-10-05 20:53:04
how to convert decimal to binary python
# Python program to convert decimal to binary # Function to convert Decimal number # to Binary number def decimalToBinary(n): return bin(n).replace("0b", "") # Driver code if __name__ == '__main__': print... Add solution