Advertisement
alcron

PyCodes

Jul 20th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.36 KB | None | 0 0
  1. #!/usr/bin/python3
  2. #coding=utf-8
  3. #Filename=thinkaboutit.py | Jul-20-2018
  4.  
  5. import time
  6.  
  7. print("Think about it!.\n")
  8.  
  9. def doyle(holmes):
  10.     print(holmes)
  11.     time.sleep(1)
  12.     print()
  13.  
  14. sherlock = str(input("Insert a phrase you want to think about: "))
  15.  
  16. x = 0
  17. n = int(input("Choose a number: "))
  18. print()
  19. while x < n:
  20.     doyle(sherlock)
  21.     x += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement