Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. while not sad or not happy:
  2. print(sad)
  3. print(happy)
  4.  
  5. mood = input("How are you today? ")
  6. print(mood)
  7. if mood.lower() in open('venv/good').read():
  8. happy = True
  9. elif mood.lower() in open('venv/bad').read():
  10. sad = True
  11.  
  12. else:
  13. print("""
  14.  
  15.  
  16. I'm sorry I don't understand...
  17.  
  18.  
  19. """)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement