and 当俩个条件都满足时为True否为False or 任意一个条件满足时为True否为Flase not in 通常用于If语句,用来判断一个元素是否不在某个列表中 banned_user = ['andrew','carolina','david'] user = 'marie' if user not in banned_user: print(user.title()+',you can post a response if you wish.') If elif else 组合使用…