Multiple ChoiceBeginner 30s
List Comprehension
Choose the best answer for: list comprehension syntax
Options
- 1{x*2 for x in range(5)}
- 2(x*2 for x in range(5))
- 3for x in range(5): [x*2]
- 4[x*2 for x in range(5)]
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.