## python program to convert decimal to the binary number system.

The code given below is to convert decimal to the binary number system . for b in range(0,100): x=int(input(“\nEnter Decimal number : “)) z=x a=1 sun=0 while x!=0: rem=x%2 sun=sun+rem*a a=a*10 x=x//2 print(“Decimal number = “,z,”\n”) print(“Binary number= “,sun) Explanation First for loop for the taking input from the user Continue Reading