17/40
Part 3 of 7 · Grouping and countingLearn and do

Normalize a string key, but only what the problem calls the same

The anagram key compares letters exactly, so capital letters and special characters change it.

print("".join(sorted("Listen")), "".join(sorted("silent")))
print("Straße".lower(), "Straße".casefold())
Predict

Do "Listen" and "silent" get the same sorted-letters key?

Pick one to see what it prints.
Pick an answer above to see the rest