Advertisement
shh_algo_PY

Julia Bot Example

Mar 5th, 2022
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.77 KB | None | 0 0
  1. border = '==========================='
  2. border2 = '🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦'
  3.  
  4. print(border)
  5. print("Hi, my name is Julia 🙆🏻‍♀️")
  6. print("your friendly personal assistant.")
  7. print("Welcome to Friend Around 💻")
  8. print(border)
  9.  
  10. print("What would you like me to do today?")
  11.  
  12. answer = input("1 - Recommendations, 2 - Just chat, off - Exit")
  13.  
  14. while answer != 'off':
  15.  
  16.     if answer == '1':
  17.         print(border)            
  18.         print("So you want movie recommendations...")
  19.         print("I can give some based on your ✨mood✨")
  20.  
  21.         feels = input('So how are you feeling today?')
  22.         feels.lower()
  23.         if feels == 'happy':
  24.             print('No recommendations. Go to a cafe! Enjoy the day :coffee:')
  25.         elif feels == 'sad':
  26.             print('No recommendations. Go get some ice cream. And friends.')
  27.         else:
  28.             print("Have you seen Train to Busan? Good for all moods.")
  29.             print("Emotional train of feels and zombies.")
  30.             print("Yes, zombies :zombie:")
  31.        
  32.         print(border)
  33.         print("Hope you like our rec! What's next?")
  34.         answer = input("1 - Recommendations, 2 - Just chat, off - Exit")
  35.    
  36.     elif answer == '2':
  37.         print(border)
  38.         print("Oh, so you want to chat...")
  39.         talk = input("What's the weather like where you are?")
  40.         print("Ohh... so it's", talk)
  41.         print("Got it")
  42.         print("This is awkward. Let's do something else.")
  43.         print("Please.")
  44.         answer = input("1 - Recommendations, 2 - Just chat, off - Exit")
  45.  
  46. print(border)
  47. print("shutting down...")
  48. print(border2)
  49. print(border2)
  50. print("Thanks for using the Julia Bot!")
  51. print("Recommend us to your friends!")
  52. print(border2)
  53. print(border2)
  54.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement