notebook save new-notebook.ipynb

main
eglez 2023-09-19 15:08:14 +00:00
parent c5c4cdcf06
commit e6d4f35a3c
1 changed files with 16 additions and 4 deletions

View File

@ -15,19 +15,31 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 1,
"id": "67f3cfed-a6c9-454a-b5a0-f2ffd9bce1aa",
"metadata": {
"tags": []
},
"outputs": [],
"outputs": [
{
"ename": "NameError",
"evalue": "name 'np' is not defined",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[0;32mIn[1], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m x \u001b[38;5;241m=\u001b[39m \u001b[43mnp\u001b[49m\u001b[38;5;241m.\u001b[39marange(\u001b[38;5;241m100\u001b[39m)\n",
"\u001b[0;31mNameError\u001b[0m: name 'np' is not defined"
]
}
],
"source": [
"x = np.arange(100)"
]
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 2,
"id": "56eeae4f-4644-4507-aabc-e640f1252c37",
"metadata": {
"tags": []
@ -40,7 +52,7 @@
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[0;32mIn[1], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m \u001b[43mplt\u001b[49m\u001b[38;5;241m.\u001b[39mplot(x,x\u001b[38;5;241m*\u001b[39mx,x,x\u001b[38;5;241m*\u001b[39mx\u001b[38;5;241m*\u001b[39mx)\n",
"Cell \u001b[0;32mIn[2], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m \u001b[43mplt\u001b[49m\u001b[38;5;241m.\u001b[39mplot(x,x\u001b[38;5;241m*\u001b[39mx,x,x\u001b[38;5;241m*\u001b[39mx\u001b[38;5;241m*\u001b[39mx)\n",
"\u001b[0;31mNameError\u001b[0m: name 'plt' is not defined"
]
}