语句+细节记录

1.return的判断语句 当return后跟的不是一个值,而是一个判断语句时,意义都是判断其真假,并返回相应的布尔值(True/False) 引用Python官方文档的解释: The expression x and y,first evaluates x; if x is false, its value is returned; otherwise, y is evaluated and t
相关文章
相关标签/搜索