diff --git a/cow/cow.ipynb b/cow/cow.ipynb new file mode 100644 index 0000000..d50e5d1 --- /dev/null +++ b/cow/cow.ipynb @@ -0,0 +1,70 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Requirement already satisfied: cowsay in d:\\мии\\aim-pibd-31-kouvshinoff-t-a\\laba\\lib\\site-packages (6.1)\n", + "Note: you may need to restart the kernel to use updated packages.\n" + ] + } + ], + "source": [ + "pip install cowsay" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + " ______________\n", + "| hello world!!! |\n", + " ==============\n", + " \\\n", + " \\\n", + " ^__^\n", + " (oo)\\_______\n", + " (__)\\ )\\/\\\n", + " ||----w |\n", + " || ||\n" + ] + } + ], + "source": [ + "import cowsay\n", + "cowsay.cow('hello world!!!')" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "laba", + "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.12.6" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +}