Wordle comparison: Difference between revisions
m
→{{header|Python}}
Line 657:
2 for correct character and position
1 for a character which is elsewhere in the target
0 for for character not seen in the target.
'''
return mapAccumL(amber)(
Line 733:
if 5 != len(target):
return
elif 5 != len(guess):
return
else:
scores = wordleScore(target, guess)
|