PCAP - Certified Associate in Python Programming Practice Test
PCAP Comprehensions and Iterators
Which syntax creates a list comprehension in Python?
Select your answer
A
{x for x in range(5)}
B
[x for x in range(5)]
C
(x for x in range(5))
D
Hint