Do you want to basically turn the list into a string with a binary format? Because your list shows only 1 and 0s or are you expecting other values? binary = ''.join(Input)
That looks like a list, not an array, and while saying that you're converting it into a binary value might technically be correct, I think it misrepresents the question.
binaryformat? Because your list shows only 1 and 0s or are you expecting other values?binary = ''.join(Input)