摘要:
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',' 阅读全文
posted @ 2018-08-19 19:34
漫语慢蜗牛
阅读(178)
评论(0)
推荐(0)
摘要:
作用域:name='alex' def foo(): name='linhaifeng' def bar(): print(name)foo() def test(): passprint(test) def test1(): print('in the test1')def test(): pri 阅读全文
posted @ 2018-08-19 10:30
漫语慢蜗牛
阅读(94)
评论(0)
推荐(0)

浙公网安备 33010602011771号