Created
August 6, 2025 20:01
-
-
Save fomightez/27f2e1c185ca318ed705d2d5a796fd4d to your computer and use it in GitHub Desktop.
Discourse discussion https://discourse.jupyter.org/t/errors-and-execution-of-the-same-code-in-jupyter-notebook-through-anaconda/37346?u=fomightez
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"id": "0be47a71-9e31-4843-8aba-169d4f702908", | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"['apple', 'banana', 'cherry', 'apple', 'lettuce']\n" | |
] | |
} | |
], | |
"source": [ | |
"fruits = [\"apple\", \"banana\", \"cherry\", \"apple\"]\n", | |
"fruits.append('lettuce')\n", | |
"print(fruits)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 2, | |
"id": "613c843d-3fb1-4b9d-ad52-124c9d24d269", | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"['apple', 'banana', 'cherry', 'apple', 'lettuce', 'pear']\n" | |
] | |
} | |
], | |
"source": [ | |
"fruits.append('pear')\n", | |
"print(fruits)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"id": "1023137f-3bdb-4ad0-ae21-fb9f8dcffd9f", | |
"metadata": {}, | |
"outputs": [], | |
"source": [] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"id": "907d98df-c7ea-499c-b31e-fdfd2525770d", | |
"metadata": {}, | |
"outputs": [], | |
"source": [] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"id": "fac01107-96ab-42e5-9cef-981c3e4a6d0c", | |
"metadata": {}, | |
"outputs": [], | |
"source": [] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"id": "e115367a-b4fb-4020-9766-2fdba953f0d5", | |
"metadata": {}, | |
"outputs": [], | |
"source": [] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"id": "de2c91ab-73d2-4ce4-93d5-a79099c535a4", | |
"metadata": {}, | |
"outputs": [], | |
"source": [ | |
"\n" | |
] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "Python 3 (ipykernel)", | |
"language": "python", | |
"name": "python3" | |
}, | |
"language_info": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 3 | |
}, | |
"file_extension": ".py", | |
"mimetype": "text/x-python", | |
"name": "python", | |
"nbconvert_exporter": "python", | |
"pygments_lexer": "ipython3", | |
"version": "3.10.16" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 5 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment