M
Q. What is the output of the following program?
data = [x for x in range(5)]
temp = [x for x in range(7) if x in data and x%2==0]
print(temp)
- Correct Answer - Option(B)
- Views: 126
- Filed under category Python
Discusssion
Login to discuss.