Jun-17-2019, 03:43 PM
In either having a look at what noisefloor wrote or having a look into the itertools modul that has a lot of other useful functions like combinations() or permutations() that you can use for your task. Good luck.
How to iterate over some characters in a string and the others will stay as it is. ?
|
|