Python - How to find the largest possible product from a list on integers

后端 未结 0 848
情深已故
情深已故 2021-01-21 01:28

How to find the largest possible product from a list of integers?

For example, given list l = [1,2,3,4,5], I want to print 431 * 52 = 22412.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题