You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
258 B
16 lines
258 B
# test array + array
|
|
try:
|
|
import array
|
|
except ImportError:
|
|
print("SKIP")
|
|
raise SystemExit
|
|
|
|
a1 = array.array('I', [1])
|
|
a2 = array.array('I', [2])
|
|
print(a1 + a2)
|
|
|
|
a1 += array.array('I', [3, 4])
|
|
print(a1)
|
|
|
|
a1.extend(array.array('I', [5]))
|
|
print(a1)
|
|
|