circuitpython/tests/basics/array_construct2.py

10 lines
213 B
Python
Raw Normal View History

try:
from array import array
except ImportError:
import sys
print("SKIP")
sys.exit()
# construct from something with unknown length (requires generators)
print(array('i', (i for i in range(10))))