Skip to content

Commit

Permalink
Small fix for Python concepts notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
hlapp committed Oct 22, 2024
1 parent e5362d3 commit 8a9ab97
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions Python-ML/Python-for-ML_01.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -765,8 +765,8 @@
"outputs": [],
"source": [
"l = [4,5,6]\n",
"k = {'c':10}\n",
"f(l)"
"k = {'c':10, 'a': 4, 'b': 5}\n",
"f(l, k)"
]
},
{
Expand All @@ -778,18 +778,6 @@
"f(*l, **k)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"kwargs = {'a': 1, 'b': 2, 'c': 3}\n",
"newargs = kwargs\n",
"newargs['a'] = 0\n",
"kwargs"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down

0 comments on commit 8a9ab97

Please sign in to comment.