摘要:
print(zip(('a','b','c'),(1,2,3)))print(list(zip(('a','b','c'),(1,2,3))))#结果<zip object at 0x00EBB0F8>[('a', 1), ('b', 2), ('c', 3)] p={'name':'alex',' 阅读全文
摘要:
作用域:name='alex' def foo(): name='linhaifeng' def bar(): print(name)foo() def test(): passprint(test) def test1(): print('in the test1')def test(): pri 阅读全文