mirror of
https://github.com/licsber/micropython.git
synced 2024-09-21 17:40:24 +08:00
7 lines
158 B
Python
7 lines
158 B
Python
|
# test construction of array from array with float type
|
||
|
|
||
|
from array import array
|
||
|
|
||
|
print(array('f', array('h', [1, 2])))
|
||
|
print(array('d', array('f', [1, 2])))
|