摘要:
常用函数 abs() 绝对值 all()Return True if bool(x) is True for all values x in the iterable. If the iterable is empty, return True any()Return True if bool(x) is True for any x in the iterable. I... 阅读全文
摘要:
作用域 例1、 def test1(): print('in the test1') def test(): print('in the test') return test1() res = test() print(res) >>> in the test in the test1 None 例2、 ... 阅读全文