From 6677c32eb8edff8e933f6ee46d9042f394d413fe Mon Sep 17 00:00:00 2001 From: Timourka Date: Sat, 21 Sep 2024 13:53:49 +0400 Subject: [PATCH] cowwww --- cow/cow.ipynb | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 cow/cow.ipynb 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 +} -- 2.25.1