I am stuck on this writing the chunk of code in Python that converts each character in the string to its decimal and binary number representation. For example, if the user would input the word "bad", the program needs to output the decimal and binary number representation for "b" "a" "d".
Required decimal representation of "b" "a" "d" is 1 0 3 and required binary representation of "b" "a" "d" is 00001 00000 00011.