010_ternaryOperation

#!/usr/bin/env python
# Author:liujun

a,b,c = 1,3,5
d = a if a < b else c /#if a < b , d = a else d = c

print(b)

猜你喜欢

转载自www.cnblogs.com/liujun5319/p/9578406.html