in a string suppose 12345 , i want to take nested loops , so that i would be able to iterate through the string in this following way :-
- 1, 2, 3, 4, 5 would be taken as integers
- 12, 3, 4,5 as integers
- 1, 23, 4, 5 as integers
- 1, 2, 34, 5 as integers ...
And so on. I know what's the logic but being a noob in Python, I'm not able to form the loop.