Skip to content
Snippets Groups Projects
Commit 8e991e06 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

Add basic array.array test.

parent 7e652af2
No related branches found
No related tags found
No related merge requests found
import array
a = array.array('B', [1, 2, 3])
print(a, len(a))
i = array.array('I', [1, 2, 3])
print(i, len(i))
print(a[0])
print(i[-1])
# Empty arrays
print(len(array.array('h')))
print(array.array('i'))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment