This commit is contained in:
Timourka 2024-09-21 13:53:49 +04:00
parent 2ae4791ec9
commit 6677c32eb8

70
cow/cow.ipynb Normal file
View File

@ -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
}