What\'s the difference between
list = range(100)
and
list[:] = range(100)
in Python?
EDI
won't work on uninitialized variable, as it is modifying it. The [:] specifies the whole list/touple.
[:]