forked from themycode/python-hacker-collection
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcolour.py
More file actions
31 lines (24 loc) · 698 Bytes
/
colour.py
File metadata and controls
31 lines (24 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
def green(data):
datas='\033[1;32m {} \033[0m!'.format(data)
return datas
def yellow(data):
datas = '\033[1;33m {} \033[0m'.format(data)
return datas
def red(data):
datas = '\033[1;31m {} \033[0m'.format(data)
return datas
def black(data):
datas = '\033[1;30m {} \033[0m'.format(data)
return datas
def blue(data):
datas = '\033[1;34m {} \033[0m'.format(data)
return datas
def fuchsia(data):
datas = '\033[1;35m {} \033[0m'.format(data)
return datas
def cyan(data):
datas = '\033[1;36m {} \033[0m'.format(data)
return datas
def white(data):
datas = '\033[1;37m {} \033[0m'.format(data)
return datas