← back to unit
Challenge
# puzzle gauntlet advanced
Find the Twins in Class
Somewhere in the word list hide exactly two anagram twins — same letters, shuffled. Expose them! 👯
You get the words (exactly one anagram pair among them). Print the two twins in their list order, separated by a space.
Example:
Input: words = ["stone", "apple", "notes", "grape"]
Output: stone notes
"stone" and "notes" share exactly the same letters shuffled — the hidden anagram pair.
💡 need a hint?
pg-find-twins-in-class.py🔒 given lines are locked — write your code in between
loading...