ch02: created notebook

This commit is contained in:
Luciano Ramalho
2019-04-06 11:34:18 -03:00
parent 0e53341809
commit b1fbf30f0d
4 changed files with 2221 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
Assigning to Slices
===================
An example that raises an error::
>>> l = list(range(10))
>>> l[2:5] = 100
Traceback (most recent call last):
...
TypeError: can only assign an iterable