@@ -553,7 +553,7 @@ We need to develop some **functions** to create sequences for **testing** the Se
...
@@ -553,7 +553,7 @@ We need to develop some **functions** to create sequences for **testing** the Se
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"
***Filename**: Session-06/Ex3.py
***Filename**: S6/e.py
***Description**: Implement the generate_seqs() function. Test the function with this main program:
***Description**: Implement the generate_seqs() function. Test the function with this main program:
Let's play with the **termcolor** module. Modify the previous exercise for printing both lists in different color: print list 1 in **blue**, and list 2 in **green**
Let's play with the **termcolor** module. Modify exercise 3 for printing both lists in different color: print list 1 in **blue**, and list 2 in **green**
You should modify the **print_seqs()** function for including an additional parameter: the color
You should modify the **print_seqs()** function for including an additional parameter: the color
***Filename**: Session-06/Ex4.py
***Filename**: S6/e4.py
***Description**: The same output than Ex3.py, but in colors. This is how it should looks like:
***Description**: The same output than e3.py, but in colors. This is how it should looks like: