Commit d30e0194 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

Add bytearray basic tests.

parent 09ce0599
a = bytearray([1, 2, 200])
print(a[0], a[2])
print(a[-1])
a[2] = 255
print(a[-1])
a.append(10)
print(len(a))
s = 0
for i in a:
s += i
print(s)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment