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)
posted on 2018-09-03 14:40 langjitianyadaolao 阅读(105) 评论(0) 编辑 收藏 举报
#!/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)
posted on 2018-09-03 14:40 langjitianyadaolao 阅读(105) 评论(0) 编辑 收藏 举报