Python Quick Convert to int
Placing the addition operator +
before a variable automatically converts it to an integer value if it can be converted, otherwise returns false, this can be useful if used in conjunction with a conditional operator to quickly check if a variable is a int value.
if (+args[1]) counter = +args[1];