示例#1
0
 def randomize(self):
     for i in self:
         i.color = c.random()
示例#2
0
def print_random(name="-r"):
    print(c.random() + "Hello " + name)
示例#3
0
文件: hello.py 项目: brookiew/hello
def print_random_color(message):
    print(c.random() + "Hello World") 
#!/usr/bin/env python3
import skilstak.colors as c
from getch import getch
import random

print(c.clear,end='',flush=True)

message = None

while message != '\x03':
  message = getch()
  print(c.random()+chr(random.randint(32,55195)),flush=True,end='')
示例#5
0
def print_random_color(message):
    print(c.random() + "Hello World")