Closed bennuttall closed 9 years ago
You can't add ranges together with + in Python 3 as they're range objects, not just lists.
range
+
list(range(10)) yields a list so it works in both
list(range(10))
You can't add
range
s together with+
in Python 3 as they'rerange
objects, not just lists.list(range(10))
yields a list so it works in both