Multiple Choice
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)
A) [0, 2, 4, 6]
B) [0, 2, 4]
C) [0, 1, 2, 3, 4, 5]
D) Runtime error
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q19: What is the output of the following
Q20: Suppose t = (1, 2, 4, 3),
Q21: What is the output of the following
Q22: What is the output of the following
Q23: What is the output of the following
Q25: What is the output of the following
Q26: Predict the output of following python programs<br>Dictionary1
Q27: What is the output of the following
Q28: What is the output of the following
Q29: What is the output of the following