← Questions

Per-position feedback for a guess against a secret word

0
TeslaCodingLast asked May 2026

Given a secret word and a guess of the same length, return feedback for each position of the guess, Wordle style: the letter is in the right place, is in the word but elsewhere, or is not in the word. Make repeated letters work correctly, so a letter is only marked present as many times as it occurs in the secret.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding