我想先打个招呼,然后你得打个招呼,然后在那儿打个招呼。如果你不打,它会告诉你打个招呼。
hello = input('Hello') def hiOrHey(hello): if hello == 'hi': if True: print("Hey there!") else: print("SAY HI")
但是,它不起作用,它只是说“你好!”,并留下一个空行。