How would I convert a list of strings to a bytearray, then get the a certain value that is part of the list back into a string?
Here is my code:
test_list = ['Hello', 'World']
a = '|'.join(test_list)
test_array = bytearray(a.encode('utf-8'))
print(test_array)
# test("Hello")
print("Count of bytes:", len(byte_array))
# How would I get "Hello" back into a string?