Files
pythonkurs/teil9/bytearray.py
2023-03-05 09:50:37 +01:00

5 lines
100 B
Python

some_chars = [65,66,67,68]
print(bytearray('Homer',encoding='utf-8'))
print(bytearray(some_chars))