Advertisement
Guest User

Cat_test.py

a guest
Jul 19th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.54 KB | None | 0 0
  1. import time
  2. from termcolor import colored
  3. import progressbar
  4.  
  5. #user_name = 'null'
  6.  
  7. print(colored('Activating Catarine...', 'green'))
  8.  
  9. bar = progressbar.ProgressBar().start()
  10. for i in range(101):
  11.     bar.update(i)
  12.     time.sleep(0.1)
  13. bar.finish()
  14.  
  15. time.sleep(2)  
  16. print (colored('Hello..', 'yellow'))
  17. time.sleep(4)
  18. print (colored('My name is Catarine..','yellow'))
  19. time.sleep(4)
  20. print(colored('And yours?','yellow'))
  21. user_name = input(colored("What's your name? \n",'yellow'))
  22. time.sleep(1)
  23. print(colored('Oh! ' + user_name + '!' + 'I love it!', 'yellow'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement