摘要: 1 array = [[0,0],[1,20],[2,40],[3,80],[4,100]] 2 target = array[-1] 3 indexMax = 0 4 5 for row in array[0:-1]: 6 index = (target[1] - row[1]) / (targe 阅读全文
posted @ 2020-06-14 16:03 孙家兴 阅读(73) 评论(0) 推荐(0)