return True if 'e' not in word else None 这是因为Python 将其视为: return <expr> 并且您将三元条件运算符指定为 <expr> 它有语法: <expr1> if <condition> else ...
確定! 回上一頁