zadanie_domowe/zad1/algorytm kolorowania grafu.ipynb

54 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2024-12-02 14:54:57 +01:00
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "f8a482a3-7652-47de-b2ca-24ffe5efccb5",
"metadata": {},
"outputs": [
{
"ename": "SyntaxError",
"evalue": "cannot assign to comparison (2747361715.py, line 1)",
"output_type": "error",
"traceback": [
"\u001b[0;36m Cell \u001b[0;32mIn [1], line 1\u001b[0;36m\u001b[0m\n\u001b[0;31m Array<int> a = [1,2,3]\u001b[0m\n\u001b[0m ^\u001b[0m\n\u001b[0;31mSyntaxError\u001b[0m\u001b[0;31m:\u001b[0m cannot assign to comparison\n"
]
}
],
"source": [
"Array<int> a = [1,2,3]\n",
"print(a)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "d3e8f56f-9c6b-465b-b9f2-5821621dc8de",
"metadata": {},
"outputs": [],
"source": []
}
],
"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.9.2"
}
},
"nbformat": 4,
"nbformat_minor": 5
}