From 0a886fd9f02eabda8ccb37921b90bc84dcdfa2d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Sucho=C5=84?= Date: Mon, 2 Dec 2024 14:54:57 +0100 Subject: [PATCH] Add graph algoritm --- zad1/algorytm kolorowania grafu.ipynb | 53 +++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 zad1/algorytm kolorowania grafu.ipynb diff --git a/zad1/algorytm kolorowania grafu.ipynb b/zad1/algorytm kolorowania grafu.ipynb new file mode 100644 index 0000000..8950f17 --- /dev/null +++ b/zad1/algorytm kolorowania grafu.ipynb @@ -0,0 +1,53 @@ +{ + "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 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 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 +}