In genetics a reading frame is a way to divide a sequence of nucleotides (DNA bases) into a set of consecutive non-overlapping triplets (also called codon). Each of this triplets is translated into an amino-acid during a translation process to create proteins.
Input
---
In a single strand of DNA you find 3 Reading frames, take for example the following input sequence:
    AGGTGACACCGCAAGCCTTATATTAGC
Output
---
For the output we are going to take the combinations and show them in the following manner:
````
Frame 1: AGG TGA CAC CGC AAG CCT TAT ATT AGC
Frame 2: A GGT GAC ACC GCA AGC CTT ATA TTA GC
Frame 3: AG GTG ACA CCG CAA GCC TTA TAT TAG C
````
For frame 1 split all of them in groups of three starting by the first base (letter).
For frame 2 split all of them in groups of three starting by the second base (letter) but having the first base (letter) at the beggining.
For frame 3 split all of them in groups of three starting by the third letter, but having the first and second bases (letters) at the beginning in the same order.
Series
---
1. [Decompose single strand DNA into 3 reading frames](http://www.codewars.com/kata/57507369b0b6d1b5a60001b3)
2. [Decompose double strand DNA into 6 reading frames](http://www.codewars.com/kata/57519060f2dac7ec95000c8e/)
3.  [Translate DNA to protein in 6 frames](http://www.codewars.com/kata/5708ef48fe2d018413000776)
def decompose_single_strand(s):
    F1 = []
    F2 = [s[0]]
    F3 = [s[:2]]
    for i in range(0,len(s), 3):
       F1.append(s[i:i + 3])
    F1 = ' '.join(F1)
    for i in range(1,len(s), 3):
       F2.append(s[i:i + 3])
    F2 = ' '.join(F2)
    for i in range(2,len(s), 3):
       F3.append(s[i:i + 3])
    F3 = ' '.join(F3)
    return 'Frame 1: ' + F1 + '\n' + 'Frame 2: ' + F2 + '\n' + 'Frame 3: ' + F3
def decompose_single_strand(s):
    F1 = []
    F2 = [s[0]]
    F3 = [s[:2]]
    for i in range(0,len(s), 3):
       F1.append(s[i:i + 3])
    F1 = ' '.join(F1)
    for i in range(1,len(s), 3):
       F2.append(s[i:i + 3])
    F2 = ' '.join(F2)
    for i in range(2,len(s), 3):
       F3.append(s[i:i + 3])
    F3 = ' '.join(F3)
    return 'Frame 1: ' + F1 + '\n' + 'Frame 2: ' + F2 + '\n' + 'Frame 3: ' + F3