Cambios cgarcia

parent 3309f604
...@@ -836,7 +836,7 @@ ...@@ -836,7 +836,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 67, "execution_count": 69,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -845,18 +845,8 @@ ...@@ -845,18 +845,8 @@
"text": [ "text": [
"[1, 1, 2, 3, 5, 8, 13]\n", "[1, 1, 2, 3, 5, 8, 13]\n",
"{1, 2, 3, 34, 5, 8, 13, 21, 55, 89}\n", "{1, 2, 3, 34, 5, 8, 13, 21, 55, 89}\n",
"{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}\n" "{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}\n",
] "bla bla bla\n"
},
{
"ename": "TypeError",
"evalue": "unsupported operand type(s) for +: 'set' and 'set'",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mTypeError\u001b[0m Traceback (most recent call last)",
"\u001b[0;32m<ipython-input-67-885e6668b482>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m 18\u001b[0m \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mA\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 19\u001b[0m \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mB\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 20\u001b[0;31m \u001b[0mA\u001b[0m\u001b[0;34m+\u001b[0m\u001b[0mB\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[0;31mTypeError\u001b[0m: unsupported operand type(s) for +: 'set' and 'set'"
] ]
} }
], ],
...@@ -880,7 +870,8 @@ ...@@ -880,7 +870,8 @@
"B=set(b)\n", "B=set(b)\n",
"print(A)\n", "print(A)\n",
"print(B)\n", "print(B)\n",
"A+B" "A-B\n",
"print(\"bla bla bla\")"
] ]
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment