import random
m = list(range(20))
for i in range(20):
m[i] = random.randint(0,50)
if m[i] < 10:
m[i] *= 2
print(m)
Это python3
import random
m = list(range(20))
for i in range(20):
m[i] = random.randint(0,50)
if m[i] < 10:
m[i] *= 2
print(m)
Это python3