2_homework_question_and_answer.py 326 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
def question_and_answer():
    while True:
        a = input("")
        if (("贪心" or "贪心学院") and "做什么"in a):
            print("贪心学院是一家高端重视售后服务的在线教育培训机构")
        if "bye" in a:
            print("拜拜,回聊!")
            break


question_and_answer()