Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions catprinter.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ def draw_cat():
/\_/\
( o.o )
> ^ <

(press ctr+C to stop)
"""
return cat

def draw_cats(num_cats):
for i in range(num_cats):
def draw_cats():
while True:
pretty_print(draw_cat())

2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

def main():

draw_cats(10)
draw_cats()

if __name__ == '__main__':
main()
4 changes: 2 additions & 2 deletions printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"\033[91m", # Red
"\033[92m", # Green
"\033[93m", # Yellow
"-\033[94m", # Blue
"\033[94m", # Blue
"\033[95m", # Magenta
"\033[96m", # Cyan
"-\033[97m", # White
"\033[97m", # White
]
reset_color = "\033[0m"

Expand Down