Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from colorama import Fore, Style
- import time
- p, n, s = print, 6699, str
- colors = [Fore.RED, Fore.GREEN, Fore.YELLOW, Fore.BLUE, Fore.MAGENTA, Fore.CYAN, Fore.WHITE]
- while True:
- for i in range(10):
- color = colors[i % len(colors)]
- p(color + s(n) + Style.RESET_ALL)
- p(color + s(int(s(n))) + Style.RESET_ALL)
- p(color + f"{n}" + Style.RESET_ALL)
- p(color + s(sum(map(int, s(n)))) + Style.RESET_ALL)
- p(color + s(6600 + 99) + Style.RESET_ALL)
- p(color + "66" + "99" + Style.RESET_ALL)
- p(color + f"{6}{6}{9}{9}" + Style.RESET_ALL)
- p(color + "6" * 2 + "9" * 2 + Style.RESET_ALL)
- p(color + s(int("66" + "99")) + Style.RESET_ALL)
- p(color + "".join(map(s, [6, 6, 9, 9])) + Style.RESET_ALL)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement