我有以下列表:在列表中相乘连续的数字?
list1 = [1, 5, 7, 13, 29, 35, 65, 91, 145, 203, 377, 455, 1015, 1885, 2639, 13195]
如何繁衍列表中的每个号码?例如1 * 5 * 7 * 13 * 29..etc
。
上午我正确的轨道下方?:
for numbs in list1:
numbs * list1[#iterate through list1, starting on 2nd item in list1]