From 22961ddcc905f3dd7ec69537877a1e5c2248ec4d Mon Sep 17 00:00:00 2001 From: ghadi Date: Mon, 2 Mar 2026 13:48:14 +0300 Subject: [PATCH] add pretty texts --- pip_lab.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pip_lab.py diff --git a/pip_lab.py b/pip_lab.py new file mode 100644 index 0000000..8f25b0e --- /dev/null +++ b/pip_lab.py @@ -0,0 +1,28 @@ +from art import * +from colorama import Fore, Back, Style, init + +init(autoreset=True) + +# Q1: +print(Fore.CYAN + text2art("BELIEVE", font='block')) +print(Fore.WHITE + text2art("AND", font='block')) +print(Fore.BLUE + text2art("ACHIEVE", font='block')) + +# Q2: +print(Fore.BLUE + Style.BRIGHT + text2art("HELLO", font='sub-zero')) + +# Bonus: +print(Fore.GREEN + text2art("I Love Python", font='tarty1')) + + +print(Fore.YELLOW + text2art("I Like making pretty texts", font='tarty2')) + + + +line1 = text2art("CHEER TO", font='tarty3') +line2 = text2art("TUWAIQ", font='tarty3') +line3 = text2art("PYTHON CAMP", font='tarty3') +print(Fore.MAGENTA + Style.BRIGHT + line1) +print(Fore.CYAN + line2) +print(Fore.GREEN + line3) +print(Fore.WHITE + Style.DIM + " ... TO ALL THE STUDENTS!") \ No newline at end of file