mirror of
https://github.com/gsi-upm/sitc
synced 2024-11-22 06:22:29 +00:00
Errata variable
This commit is contained in:
parent
09cd7ca0d2
commit
fdb3746c51
@ -141,8 +141,8 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"Objects whose value can change are said to be **mutable**; objects whose value is unchangeable once they are created are called **immutable**.\n",
|
"Objects whose value can change are said to be **mutable**; objects whose value is unchangeable once they are created are called **immutable**.\n",
|
||||||
"\n",
|
"\n",
|
||||||
"* **Mutable types**: integers, floats, strings, tuples\n",
|
"* **Mutable types**: integers, floats, strings, lists, set\n",
|
||||||
"* **Inmutable types**: lists, dictionaries"
|
"* **Inmutable types**: tuples, ranges, dictionaries"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -212,7 +212,7 @@
|
|||||||
"print('a', a)\n",
|
"print('a', a)\n",
|
||||||
"print('b', b)\n",
|
"print('b', b)\n",
|
||||||
"\n",
|
"\n",
|
||||||
"# Which will be the value "
|
"# Which will be the value of a and b?"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user