Advertisement
Guest User

Untitled

a guest
Nov 25th, 2015
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. # coding: utf-8
  2.  
  3. POSITIVE = ['y', 'yes', 'yep', 'да', 'ага']
  4.  
  5.  
  6. def ask(about):
  7. return input('%s -->> ' % about)
  8.  
  9.  
  10. def drop_bitch():
  11. print('Bye')
  12. exit(0)
  13.  
  14.  
  15. def main_relations_cycle():
  16. raise NotImplementedError('Terra incognita bro...')
  17.  
  18.  
  19. if ask('Есть парень?').lower() in POSITIVE:
  20. drop_bitch()
  21.  
  22. if ask('Го свидание, я создал?').lower() in POSITIVE:
  23. main_relations_cycle()
  24.  
  25. drop_bitch()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement