This is a simple program that converts a decimal input into its binary number equivalent through division by 2.
dec2bin.py is executed through the command line. The program will prompt an integer input and print the output to the console.
The program divides the input by 2. Its remainder becomes the first binary value, either 0 or 1. This operation continues until 0 is reached.