python項目開發案例集錦怎麼樣-Python花式編程案例集錦(5)

defdemo1(x, y, z): product = -float('inf') positions = () fori, v1 inenumerate(x): forj, v2 inenumerate(y): fork, v3 inenumerate(z): t = v1*v2*v3 ift > product: product = t positions = (i, j, k) retur
相關文章
相關標籤/搜索