来源:https://stackoverflow.com/questions/63289494/what-is-the-correct-syntax-for-walrus-operator-with-ternary-operator 标签 python python-3.x conditional-operator walrus-operator