# Correct from the first try

- Author:
- chris cambré

If you get familiar with scripting and counting scores you might experiment with variations.
Is the student allowed to give an exercise a second try or do I want a result that explicitly rapports how many exercises were answered correctly from the first time.

- Create a number
**made = 0** - Let the value of made
**increase by 1**when an answer is given - Let the values of solution ans trials only
**increase when made = 1**. If you try a second answer for the same exercise made will be increased to 2 and the values of solution ans trials will remain the same. - Clicking on the button
*next exercise***resets made to 0**.