mirror of
https://github.com/micropython/micropython.git
synced 2025-09-06 09:50:20 +02:00
10 lines
213 B
Python
10 lines
213 B
Python
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))))
|