How to split int to every possible smaller int in python

前端 未结 0 737
孤独总比滥情好
孤独总比滥情好 2020-12-29 09:33

suppose we have an integer like 12345. we want to split it into possible numbers in python: {[12345], [1234,5], [123,45],[12,345],[1,2345],[123,4,5],[12,34,5],....,[1,

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