pull/1/head
cif2cif 8 years ago
parent 4ffb1a1891
commit 2b50ac848e

@ -140,12 +140,25 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 5,
"metadata": { "metadata": {
"collapsed": true "collapsed": false
}, },
"outputs": [], "outputs": [
"source": [] {
"data": {
"text/plain": [
"4"
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"2+2"
]
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",

@ -443,7 +443,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"Tuples are *inmutable* sequences, tipically used to store collections of heterogeneous data.\n", "Tuples are *inmutable* sequences, typically used to store collections of heterogeneous data.\n",
"\n", "\n",
"The main difference from lists is that lists are *mutable* while tuples are *inmutable*. Thus, tuples have not methods such as insert(), pop(), remove() or append() to change them.\n", "The main difference from lists is that lists are *mutable* while tuples are *inmutable*. Thus, tuples have not methods such as insert(), pop(), remove() or append() to change them.\n",
"\n", "\n",

Loading…
Cancel
Save