This is not valid explanation. You only provide code without explaining why it works, which is not a high-quality answer.