摘要: python中, 实现列表中的整型元素两两相乘或列表中的数组元素两两相与 1. 假设列表中的元素是整型, 可调用以下函数: 1 def list_any_two_mul(mylist): 2 num = 1 3 temp = [] 4 for i in mylist[:-1]: 5 temp.app 阅读全文
posted @ 2019-08-01 16:36 ttweixiao9999 阅读(1122) 评论(0) 推荐(0) 编辑