1.

What is the output of the following snippet of code? >>> a={i: i*i for i in range(6)} >>> a

A. Dictionary comprehension doesn’t exist
B. {0: 0, 1: 1, 2: 4, 3: 9, 4: 16, 5: 25, 6:36}
C. {0: 0, 1: 1, 4: 4, 9: 9, 16: 16, 25: 25}
D. {0: 0, 1: 1, 2: 4, 3: 9, 4: 16, 5: 25}
Answer» E.


Discussion

No Comment Found