83 8 Create Your Own Encoding Codehs Answers Online

for char in message: if char in my_encoding: binary_output += my_encoding[char] else: # Handle characters not in our dictionary (optional) binary_output += "?????" return binary_output

: Each character must have exactly the same bit length (e.g., all must be 5 bits) for the message to be decodable. 83 8 create your own encoding codehs answers

To pass the autograder and fulfill the activity, your encoding scheme must represent: (A-Z). The space character . for char in message: if char in my_encoding:

def encoder(text): result = ""