8 lines
146 B
Python
8 lines
146 B
Python
|
#!/usr/bin/python3
|
||
|
|
||
|
def color(num, text):
|
||
|
return f"\033[38;5;{num}m{text}\033[0m"
|
||
|
|
||
|
for i in range(300):
|
||
|
print(color(i, f"number {i:02}"))
|