摘要: import mathfrom itertools import imapv1 = [30, 20, 20, 10, 0]v2 = [40, 0, 30, 20, 10]dot_product = sum(imap(lambda a, b: a * b, v1, v2))module_one = m... 阅读全文
posted @ 2014-09-12 16:53 jaw-crusher 阅读(397) 评论(0) 推荐(0) 编辑