Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- import random as r
- def print_number(n, c, x, y):
- print(f"\033[{c};{y};{x}H{n}", end='', flush=True)
- time.sleep(0.01)
- colors = {"31": "31", "32": "32", "33": "33", "34": "34", "35": "35", "36": "36"}
- print("\033[2J")
- while True:
- for _ in range(6):
- x, y = r.randint(1, 80), r.randint(1, 200)
- selected_color = r.choice(list(colors.keys()))
- print_number(26, selected_color, x, y)
Advertisement
Comments
-
- looks like steve has hacked my account again ffs
Add Comment
Please, Sign In to add comment
Advertisement