Python3 三元条件判断表达式(if else/and or)

NoSuchKey