by dmritard96 · 12y ago · 0 comments
numbers = [n for n in range(10)]
this should be: range(10)
Though, really, even there, while the list comprehension works, its kind of an awkward construction to use that instead of:
numbers = list(range(10))