Номер слайду 8
Генераторы списков. A =[ i for i in range(10) ][0, 1, 2, 3, 4, 5, 6, 7, 8, 9]A =[ i*i for i in range(10) ][0, 1, 4, 9, 16, 25, 36, 49, 64, 81]for i in range(10)i*ifrom random import randint. A = [ randint(20,100) for x in range(10)]A = [ i*i for i in range(10) if i%2==0 условие отбора[0, 2, 4, 6, 8]A = list ( range(10) )[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]