Files
micropython/tests/basics/array_construct2.py
2015-03-25 23:33:48 +00:00

5 lines
136 B
Python

from array import array
# construct from something with unknown length (requires generators)
print(array('i', (i for i in range(10))))