Ternary operation of variables in the second week of Python notes

If variable a is less than b, the value of d takes the value of variable a, otherwise takes the value of variable c

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325342733&siteId=291194637