python-CSD-kursu/python-temel/list.for.py

4 lines
71 B
Python

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