Q62
What will be the output of the following Python code snippet? a**2 for a in range(4)
A.
{1, 4, 9, 16}
B.
{0, 1, 4, 9, 16}
C.
Error
D.
{0, 1, 4, 9}
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board