Advertisement
shh_algo_PY

Another Bot Example

Mar 5th, 2022
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.79 KB | None | 0 0
  1. border="========================="
  2.  
  3. print(border)
  4. print("Hello there!")
  5. print("Welcome to our shop.")
  6. print("We need to follow SOP.")
  7. print("So... let's check!")
  8.  
  9. print(border)
  10. print("Checking you now...")
  11. print(border)
  12.  
  13. mask=input("Do you have a mask on? (yes/no)")
  14. if mask=="yes":
  15.     print("Very good!")
  16.     print("Now let's check your temperature!")
  17.     temperature=input("BEEP BEEP: Is it under 37 degrees? (yes/no)")
  18.     if temperature=="yes":
  19.         print("Jolly good!")
  20.         print("Here's some sanitiser for your hands.")
  21.         print("Have a good day!")
  22.         print(border)
  23.     else:
  24.         print("Sorry! You need to go see a doctor.")
  25.         print("Let me call you a taxi... or an ambulance...")
  26.         print(border)
  27. else:
  28.     print("Hello polis.")
  29.     print(border)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement