这几天没写代码, 练一下代码. 找的书是<python cookbook>第三版的电子书. *这个操作符,运用得好,确实少很多代码,且清晰易懂. p = (4, 5) x, y = p print(x) print(y) s = 'Hello' a, b, c, d, e = s print(a, b, c) data = ['ACME', 50, 91.1, (2012, 12, 21)] _, shares, price, _ = data print(shares, price) def…