import random
a = []
for x in range(1, 10):
a.append(random.randint(0, 100)-30)
print('before - ', a)
i = 0
for x in a:
if (x > 0) and (x%5==0):
a[i] += 1
i += 1
print('after - ', a)
яп - python
import random
a = []
for x in range(1, 10):
a.append(random.randint(0, 100)-30)
print('before - ', a)
i = 0
for x in a:
if (x > 0) and (x%5==0):
a[i] += 1
i += 1
print('after - ', a)
яп - python