Posts by kaell_andrade • 3 points
2 posts
-
0
votes1
answer76
viewsQ: How to form unique tuples for a secret friend game?
I am trying to create an algorithm for a secret friend draw. That is, given an array I need to form unique pairs. Example: [Gandalf, Bilbo, Thorin] a possible return would be [[Gandalf, Thorin ],…
javascriptasked kaell_andrade 3 -
0
votes3
answers78
viewsA: Difficulty with first code
elementos = ('ac', 'am', 'sb', 'ar', 'as', 'at', 'ba', 'bk', 'be', 'bi', 'bh', 'b', 'br', 'cd', 'cs', 'ca', 'cf', 'c', 'ce', 'cl', 'cr', 'co', 'cu', 'cm', 'ds', 'db', 'dy', 'es', 'er',…