# 获取用户输入 user_input = input() # 判断用户输入是否以"al"开头或以"Nb"结尾 if user_input.startswith("al") or user_input.endswith("Nb"): print("是的") else: print("不是的")