mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
4 lines
82 B
Python
4 lines
82 B
Python
arr = [10, 20, 30, 40]
|
|
arr[1] = 30 # set element 1 (20) of array to 30
|
|
print(arr)
|