def question_and_answer(): while True: a = input("") if (("贪心" or "贪心学院") and "做什么"in a): print("贪心学院是一家高端重视售后服务的在线教育培训机构") if "bye" in a: print("拜拜,回聊!") break question_and_answer()