How to change allowed number of attempts?

Hello everybody, I want to improve allowed number of attempts of a lesson. How to change coding for more option of number of attempts? Example, I want to add more options 10, 11, 12, ...20. Please, help me to do that. Thank you so much, Bien