We need to develop the function **print_seqs(seq_list)** that receives a **list of sequence**s and prints their **number** in the list, their **length** and the **sequence** itself. For ejemple, if we call the function with the previous list, the output in the console should be:
But then we need to develop the function **"** that receives a **list of sequences** and prints their **number** in the list, their **length** and the **sequence** itself. For example, if we call the function with the previous list, the output in the console should be:
***Description**: Implement the print_seqs() function
***Description**: Implement the print_seqs() function
### Exercise 3
### Exercise 3
We need to develop some **functions**for creating different sequences for **testing** the Seq objects. The function **generate_seqs(pattern, number)** has two parameters. It will create a **list** with the given*number* of sequences. All the sequences are created from the given **pattern**. This pattern is a string of one or more bases. The first sequence of the list will have only the pattern. In the second, the pattern is repeated twice. In the third, the patter is repeated three times, and so on
We need to develop some **functions**to create sequences for **testing** the Seq objects. For instance, the function **generate_seqs(pattern, number)**, that has two parameters, will create a **list** with the provided*number* of sequences. All the sequences are created from the given **pattern**. This pattern is a string of one or more bases. The first sequence of the list will have the provided pattern, the second, the pattern will be repeated twice, in the third the patter will be repeated three times, and so on
Therefore, if we call the function generate_seqs() with the parameters ("A", 3), a list of 3 sequences is returned. The bases in every sequence will be: "A", "AA" and "AAA"
Therefore, if we call the function generate_seqs() with the parameters ("A", 3), a list of 3 sequences is returned. The bases in every sequence will be: "A", "AA" and "AAA"