The program asks for the number of data bits and calculates the number of redundant bits required to implement Hamming Code.
It then asks for the data bits and calculates the redundant bits using the standard Hamming Code algorithm.
python3 main.py
import math