python三目运算符 python python三目运算符 python三目运算符,如果data=1那么赋值888,否则为999 data = 1 data = data == 1 and 888 or 999 0 评论 0 浏览