mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-24 13:31:07 +00: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)
|