如何在python中将长数字分成几个数字?

时间:2017-03-26 06:19:32

标签: python python-2.7 python-3.x

我想根据给定的计数器值将数字分成几个......

if my Number is 12345 and counter value 2. then I need 12,13,14,15,23,24,25,34,35,45...

if counter value 3 then I need 123, 134, 145, 234, 245, 345...

提前谢谢......

0 个答案:

没有答案