From bcb78322121842d11f78bca0515f06b0f3bd8521 Mon Sep 17 00:00:00 2001 From: Kuznetsov Mikhail Date: Thu, 7 Nov 2024 20:39:02 +0300 Subject: [PATCH 1/2] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB?= =?UTF-8?q?=D0=B8=20=D0=B1=D0=BE=D0=BB=D1=8C=D1=88=D0=B5=20=D0=BA=D0=BE?= =?UTF-8?q?=D1=82=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- catprinter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/catprinter.py b/catprinter.py index deb16e8..29e9301 100644 --- a/catprinter.py +++ b/catprinter.py @@ -2,9 +2,9 @@ def draw_cat(): cat = r""" - /\_/\ -( o.o ) - > ^ < + /\_/\ /\–/\ /\_/\ +( o.o ) |.>ω<.| ฅ •ﻌ• ฅ + > ^ < \___/ \___/ """ return cat From 38e165c72574068b272ab2f525284dd7663547b9 Mon Sep 17 00:00:00 2001 From: Kuznetsov Mikhail Date: Thu, 7 Nov 2024 20:30:06 +0300 Subject: [PATCH 2/2] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=B1=D0=B5=D1=81=D0=BA=D0=BE=D0=BD=D0=B5=D1=87=D0=BD?= =?UTF-8?q?=D1=8B=D0=B9=20=D1=86=D0=B8=D0=BA=D0=BB=20=D0=B2=D1=8B=D0=B2?= =?UTF-8?q?=D0=BE=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- catprinter.py | 4 ++-- main.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/catprinter.py b/catprinter.py index 29e9301..a393c07 100644 --- a/catprinter.py +++ b/catprinter.py @@ -8,7 +8,7 @@ def draw_cat(): """ return cat -def draw_cats(num_cats): - for i in range(num_cats): +def draw_cats(): + while True: pretty_print(draw_cat()) diff --git a/main.py b/main.py index f6ee5aa..cebbf81 100644 --- a/main.py +++ b/main.py @@ -2,7 +2,7 @@ def main(): - draw_cats(10) + draw_cats() if __name__ == '__main__': main()