今天早上看了一篇讲python黑魔法的博客做一下学习笔记记录 trick: 连接多个列表 >>> a = [1,2] >>> b = [3,4] >>> c = [5,6] >>> >>> sum((a,b,c), []) [1, 2, 3, 4, 5, 6] \作为续行符 >>> a = 'talk is cheap,'\ ... 'show me the code.' >>> >>> print(a) talk is cheap,show ...