AIM-PIbd-31-Kouvshinoff-T-A/cow/cow.ipynb
2024-09-21 13:53:49 +04:00

71 lines
1.4 KiB
Plaintext

{
"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
}