16/29
Part 4 of 6 · Sorting and the latest entryLearn and do
Strings sort by code point
Sorting strings has one more surprise.
print(sorted(["ana", "Zoe", "item10", "item9"]))
What does sorted(["ana", "Zoe", "item10", "item9"]) give?
Pick one to see what it prints.
Pick an answer above to see the rest