list for example

This commit is contained in:
Mert Gör 🇹🇷 2023-05-20 17:39:29 +03:00
parent ef0cac8835
commit 4c487f3499
No known key found for this signature in database
GPG key ID: 2100A876D55B39B9

4
list.for.py Normal file
View file

@ -0,0 +1,4 @@
a = [2, 5, 1, 9, 10]
for i in range(len(a)):
a[i] *= a[i]
print(a)