list for example
This commit is contained in:
parent
ef0cac8835
commit
4c487f3499
1 changed files with 4 additions and 0 deletions
4
list.for.py
Normal file
4
list.for.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
a = [2, 5, 1, 9, 10]
|
||||
for i in range(len(a)):
|
||||
a[i] *= a[i]
|
||||
print(a)
|
Loading…
Reference in a new issue