mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-12-18 09:10:16 +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)
|