Skip to main content

All Questions

-1 votes
1 answer
293 views

Generating Cartesian Product of Tuple-List Pairs

I need help generating combinations from a list of tuples, where each tuple contains a string at index 0 and a list of values at index 1. For instance, consider the following setup: params = ['sn', '...
Trenton McKinney's user avatar
0 votes
1 answer
173 views

Python: Logical error in recursion under double for loop

BackGround I am working on a project where I need to compare a set of strings and only keep the ones that are unique or distinct. Uniq or distinct means no two strings should be, A) Palindromes , ...
Anil_M's user avatar
  • 11.5k