RosettaCodeData/Task/Arrays/Python/arrays-1.py

9 lines
75 B
Python

array = []
array.append(1)
array.append(3)
array[0] = 2
print(array[0])