Advertisement
Guest User

Untitled

a guest
Apr 24th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. import sys
  2. from termcolor import colored, cprint
  3.  
  4. text = colored('Hello, World!', 'grey', attrs=['reverse'])
  5. print(text)
  6.  
  7. text = colored('Hello, World!', 'red', attrs=['reverse'])
  8. print(text)
  9.  
  10. text = colored('Hello, World!', 'green', attrs=['reverse'])
  11. print(text)
  12.  
  13. text = colored('Hello, World!', 'yellow', attrs=['reverse'])
  14. print(text)
  15.  
  16. text = colored('Hello, World!', 'blue', attrs=['reverse'])
  17. print(text)
  18.  
  19. text = colored('Hello, World!', 'magenta', attrs=['reverse'])
  20. print(text)
  21.  
  22. text = colored('Hello, World!', 'cyan', attrs=['reverse'])
  23. print(text)
  24.  
  25. text = colored('Hello, World!', 'white', attrs=['reverse'])
  26. print(text)
  27.  
  28. text = colored('Hello, World!', 'grey', attrs=[])
  29. print(text)
  30.  
  31. text = colored('Hello, World!', 'red', attrs=[])
  32. print(text)
  33.  
  34. text = colored('Hello, World!', 'green', attrs=[])
  35. print(text)
  36.  
  37. text = colored('Hello, World!', 'yellow', attrs=[])
  38. print(text)
  39.  
  40. text = colored('Hello, World!', 'blue', attrs=[])
  41. print(text)
  42.  
  43. text = colored('Hello, World!', 'magenta', attrs=[])
  44. print(text)
  45.  
  46. text = colored('Hello, World!', 'cyan', attrs=[])
  47. print(text)
  48.  
  49. text = colored('Hello, World!', 'white', attrs=[])
  50. print(text)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement