|
|
|
@ -141,8 +141,8 @@
|
|
|
|
|
"source": [
|
|
|
|
|
"Objects whose value can change are said to be **mutable**; objects whose value is unchangeable once they are created are called **immutable**.\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"* **Mutable types**: integers, floats, strings, tuples\n",
|
|
|
|
|
"* **Inmutable types**: lists, dictionaries"
|
|
|
|
|
"* **Mutable types**: integers, floats, strings, lists, set\n",
|
|
|
|
|
"* **Inmutable types**: tuples, ranges, dictionaries"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -212,7 +212,7 @@
|
|
|
|
|
"print('a', a)\n",
|
|
|
|
|
"print('b', b)\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"# Which will be the value "
|
|
|
|
|
"# Which will be the value of a and b?"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|