def _get_loop_opening_ending(self, indices):
        open_lines = []
        close_lines = []
        for i in indices:
            # fortran arrays start at 1 and end at dimension
            var, start, stop = map(self._print,
                    [i.label, i.lower + 1, i.upper + 1])
            open_lines.append((var, start, stop) % "do %s = %s, %s")
            close_lines.append("end do")
        return open_lines, close_lines
dataset/ETHPy150Open sympy/sympy/sympy/printing/fcode.py/FCodePrinter._get_loop_opening_ending/swapped operands of `%`