list for example
This commit is contained in:
parent
ef0cac8835
commit
4c487f3499
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 New Issue
Block a user