Write a function. Test real cases. Improve your solution.
A profile may contain nickname, full_name, and username. Try those fields in that order and return the first nonblank string after removing whitespace from its ends. Keep internal spaces and letter case unchanged. A missing field, None, or a string containing only whitespace should be skipped. If all three are unavailable, return "Anonymous". Values in these fields are strings or None; other fields do not matter. Do not change the profile.
[{"nickname": " Ace ", "full_name": "Ari Chen", "username": "ari"}]"Ace"
[{"nickname": " \t ", "full_name": " Bo Li ", "username": "bo"}]"Bo Li"
[{"full_name": None, "username": " cam "}]"cam"
[{}]"Anonymous"
[{"nickname": None, "full_name": "", "username": " \n ", "email": "a@example.test"}]"Anonymous"
[{"full_name": " Dee Park "}]"Dee Park"
Python 3.14 runs in your browser. The first run downloads about 13 MB; your browser can cache it for later visits. Each run starts fresh. Use synchronous functions and core standard-library modules. Network requests, package installs, and interactive input() are unavailable. Return lists, string-key dictionaries, strings, finite numbers, bools, or None. Student code stops after about four seconds, after Python loads. Python engine credits. Test results support self-study and don’t certify proficiency.