From aff166bb4e01be820d77c3f58d50b654a4dc9f6e Mon Sep 17 00:00:00 2001 From: Kuznetsov Mikhail Date: Thu, 7 Nov 2024 20:39:02 +0300 Subject: [PATCH 1/5] =?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..d515393 100644 --- a/catprinter.py +++ b/catprinter.py @@ -2,9 +2,9 @@ def draw_cat(): cat = r""" - /\_/\ -( o.o ) - > ^ < + /\_/\ /\_/\ /\_/\ +( o.o ) ( o.o ) ( o.o ) + > ^ < > ^ < > ^ < """ return cat From c7eab69337c5c930faf6805960067b040c0cda6a Mon Sep 17 00:00:00 2001 From: Sheeesh3rrr Date: Tue, 7 Oct 2025 11:51:17 +0300 Subject: [PATCH 2/5] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D0=BB?= =?UTF-8?q?=20=D0=BA=D0=BE=D1=82=D0=B8=D0=BA=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 d515393..6710d8b 100644 --- a/catprinter.py +++ b/catprinter.py @@ -2,9 +2,9 @@ def draw_cat(): cat = r""" - /\_/\ /\_/\ /\_/\ -( o.o ) ( o.o ) ( o.o ) - > ^ < > ^ < > ^ < + /\_/\      /\–/\      /\_/\ +( o.o )    |.>ω<.|    ฅ •ﻌ• ฅ + > ^ <      \___/      \___/ """ return cat From 0648f015bb6b714db162ca564d0e4478f6791098 Mon Sep 17 00:00:00 2001 From: Kuznetsov Mikhail Date: Thu, 7 Nov 2024 20:26:54 +0300 Subject: [PATCH 3/5] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D1=8B=20=D0=BA=D0=BE=D0=BD=D1=81=D1=82=D0=B0=D0=BD?= =?UTF-8?q?=D1=82=D1=8B=20=D1=86=D0=B2=D0=B5=D1=82=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- printer.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/printer.py b/printer.py index 7bf25e5..a313157 100644 --- a/printer.py +++ b/printer.py @@ -1,13 +1,13 @@ import random colors = [ - "\033[91m", # Red - "\033[92m", # Green - "\033[93m", # Yellow - "-\033[94m", # Blue - "\033[95m", # Magenta - "\033[96m", # Cyan - "-\033[97m", # White + "\033[91m", # Red + "\033[92m", # Green + "\033[93m", # Yellow + "\033[94m", # Blue + "\033[95m", # Magenta + "\033[96m", # Cyan + "\033[97m", # White ] reset_color = "\033[0m" From b6123a46b1dec4581e073f0cdc91cc2aa502317b Mon Sep 17 00:00:00 2001 From: Kuznetsov Mikhail Date: Thu, 7 Nov 2024 20:30:06 +0300 Subject: [PATCH 4/5] =?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 6710d8b..4aaa297 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() From 464488d0880ffad69302f9b761f90624d8866b83 Mon Sep 17 00:00:00 2001 From: Kuznetsov Mikhail Date: Thu, 7 Nov 2024 21:07:58 +0300 Subject: [PATCH 5/5] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=BA=D0=BE=D0=BC=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=80?= =?UTF-8?q?=D0=B8=D0=B9=20=D0=BE=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BA?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- catprinter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/catprinter.py b/catprinter.py index 4aaa297..c0959bb 100644 --- a/catprinter.py +++ b/catprinter.py @@ -5,6 +5,8 @@ def draw_cat():  /\_/\      /\–/\      /\_/\ ( o.o )    |.>ω<.|    ฅ •ﻌ• ฅ  > ^ <      \___/      \___/ + +(press ctr+C to stop) """ return cat