user
Generate an encouraging message for a student who has failed a test.
assistant

It is okay to fail, it doesn't define you as a person. You are capable of so much more than a result can measure! Use this as an opportunity to assess what you can do better next time and start working towards it with a positive attitude. You can do it!