list_num2 = [num2 for num2 in range(3,30,3)]
print(list_num2)
for num2 in list_num2:
print(num2)
[3, 6, 9, 12, 15, 18, 21, 24, 27]
3
6
9
12
15
18
21
24
27
list_num2 = [num2 for num2 in range(3,30,3)]
print(list_num2)
for num2 in list_num2:
print(num2)
[3, 6, 9, 12, 15, 18, 21, 24, 27]
3
6
9
12
15
18
21
24
27