I am trying to create a program to generate all possible capitalization cases of a string in python. For example, given ‘abcedfghij’, I want a program to generate:
Abcdefghij
ABcdef..
.
.
aBcdef..
.
ABCDEFGHIJ
And so on. I am trying to find a quick way to do it, but I don’t know where to start.
prints: