mirror of
https://github.com/licsber/micropython.git
synced 2024-09-21 17:40:24 +08:00
5 lines
136 B
Python
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))))
|