Q. What will be the output of the following Python list comprehension?
Code:
[j for i in range(2,8) for j in range(i*2, 50, i)]
β
Correct Answer: (C)
A list of non prime numbers, up to 50