Python - Character Replacement Combination
Given a String and dictionary with characters mapped to replacement characters values list, construct all possible strings after replacing present characters with mapped values. Input : test_str = "geeks", test_dict = {'s' : ['1', '5'], 'k' : ['3']} Output : ['gee31', 'geek1', 'gee35', 'geek5', 'gee