Invalid left-hand side in assignment

See Convert 1-digit number to 2-digit