print color("red"), "Text is red\n", color("reset");
print RED "Text is red\n", RESET;
30 Black 31 Red 32 Green 33 Yellow 34 Blue 35 Magenta 36 Cyan 37 White
40 Black 41 Red 42 Green 43 Yellow 44 Blue 45 Magenta 46 Cyan 47 White
print color("red"), "Text is red\n", color("reset");
print RED "Text is red\n", RESET;
30 Black 31 Red 32 Green 33 Yellow 34 Blue 35 Magenta 36 Cyan 37 White
40 Black 41 Red 42 Green 43 Yellow 44 Blue 45 Magenta 46 Cyan 47 White
沒有留言:
張貼留言