Binary number
-It is a number which expressed in the base-2 numeral system,
-Binary numbers are 0 or 1.
Decimal number
- A number which expressed in the base-10 numeral system.
- Decimal number range is 0 to 9
Conversion of Decimal to binary number
Example-
Decimal number - 10
Its binary equivalent is 1010
Decimal number - 11
Its binary equivalent is 1011
Program -
print(bin(int(input("Enter Decimal numbern"))))
Enter Decimal number
10
0b1010
Enter Decimal number
32
0b100000