9 lines
229 B
Python
9 lines
229 B
Python
|
import ansi_escape
|
||
|
a = 0
|
||
|
while a < 256:
|
||
|
b = str(a)
|
||
|
print(ansi_escape.color("256", "bg", b) + " " + b + " " + ansi_escape.reset, end='')
|
||
|
a += 1
|
||
|
|
||
|
print(ansi_escape.escape + "]0;Demo" + ansi_escape.escape + "\\")
|
||
|
input()
|