2017-01-07 06:13:40 +08:00
|
|
|
try:
|
|
|
|
from array import array
|
|
|
|
except ImportError:
|
|
|
|
print("SKIP")
|
2017-06-11 01:03:01 +08:00
|
|
|
raise SystemExit
|
2015-03-26 07:33:48 +08:00
|
|
|
|
|
|
|
# construct from something with unknown length (requires generators)
|
|
|
|
print(array('i', (i for i in range(10))))
|