Answer:
tries = tries + 1
Step-by-step explanation:
This is a universal way to increment your variable. In some languages, the following notation also works:
tries++;
tries += 1;
Again, it depends upon the language you are using. Each language has it's own syntax.