Can someone please tell me why my solution is not good, when the output is right and there are no errors?