Entrega Final

parent c9929aaa
......@@ -1031,7 +1031,9 @@
{
"cell_type": "code",
"execution_count": 241,
"metadata": {},
"metadata": {
"scrolled": true
},
"outputs": [
{
"name": "stdout",
......@@ -1123,31 +1125,6 @@
"pascal(5)"
]
},
{
"cell_type": "code",
"execution_count": 174,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"{(3, 'three'), (2, 'two'), (1, 'one')}\n"
]
}
],
"source": [
"numberList = [1, 2, 3]\n",
"strList = ['one', 'two', 'three']\n",
"\n",
"# Two iterables are passed\n",
"result = zip(numberList, strList)\n",
"\n",
"# Converting itertor to set\n",
"resultSet = set(result)\n",
"print(resultSet)"
]
},
{
"cell_type": "markdown",
"metadata": {},
......
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