← The arcade

Christmas · difficulty 2 of 3

Naughty or nice list 📜

Score each child's year from the deeds log, then print the list from nicest to naughtiest (ties alphabetical) with NICE for a score of 0 or more and NAUGHTY below 0.

This one is part of Pro. Plenty of arcade challenges are free to play right now.

Skills: dictionaries, sorting

Open the arcade