Day1-三元运算及

三元运算:result = Value1 if Condition else Vlaue2

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

##################################33

Day1-三元运算及

b'\xe6\x88\x91\xe7\x88\xb1\xe5\x8c\x97\xe4\xba\xac\xe5\xa4\xa9\xe5\xae\x89\xe9\x
97\xa8'

我爱北京*

上一篇:Ajax.html:35 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org


下一篇:JDBC连接数据库,结合DbUtil数据库连接工具类的使用