<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def group_primers(self, my_list):
 """Group elements in list by certain number 'n'"""

        new_list = []
        n = 2
        for i in range(0, len(my_list), n):
            grouped_primers = my_list[i:i + n]
            forward_primer = grouped_primers[0].split(" ")
            reverse_primer = grouped_primers[1].split(" ")
            formatted_primers = ">F_{0}\n{1}".format(forward_primer[1], forward_primer[0])
            formatted_primers += "\n>R_{0}\n{1}".format(reverse_primer[1], reverse_primer[0])
            new_list.append(formatted_primers)
        return new_list