Changed typehint for block 34

This commit is contained in:
2026-03-29 20:33:45 -04:00
parent 67970cea36
commit 0346d939ab

View File

@@ -2700,7 +2700,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 35, "execution_count": null,
"metadata": { "metadata": {
"id": "AsC4oa2qKPSG" "id": "AsC4oa2qKPSG"
}, },
@@ -2722,7 +2722,7 @@
"# final predictive model (k-nearest-neighbor), with tuned k + ALL data incorporated\n", "# final predictive model (k-nearest-neighbor), with tuned k + ALL data incorporated\n",
"#\n", "#\n",
"\n", "\n",
"def predictiveModel( features: list[float] ) -> None:\n", "def predictiveModel( features: list[float] ) -> str:\n",
" ''' input: a list of four features\n", " ''' input: a list of four features\n",
" [ sepallen, sepalwid, petallen, petalwid ]\n", " [ sepallen, sepalwid, petallen, petalwid ]\n",
" output: the predicted species of iris, from\n", " output: the predicted species of iris, from\n",