Updated S6: Object Oriented Programming (markdown) authored by Rod Pérez's avatar Rod Pérez
...@@ -514,8 +514,8 @@ New sequence created! ...@@ -514,8 +514,8 @@ New sequence created!
The goal of this exercise is to detect the **incorrect sequences** The goal of this exercise is to detect the **incorrect sequences**
* **Filename**: Session-06/Ex1.py * **Filename**: S6/e1.py
* **Description**: Modify the \_\_ini\_\_ methond of the Seq class so that it detects that the given string only have these four valid bases: 'A', 'C', 'G' and 'T'. If a different character is found, the sequence should be initilalized with the **"ERROR" string**, and the message **"INCORRECT Sequence detected"** printed on the console * **Description**: Modify the \_\_ini\_\_ method of the Seq class so that it detects that the given string only have these four valid bases: 'A', 'C', 'G' and 'T'. If a different character is found, the sequence should be initialized with the **"ERROR"** string, and the message **"INCORRECT Sequence detected"** should be printed in the console
When the previous **main program** is executed, this is what should be printed on the console: When the previous **main program** is executed, this is what should be printed on the console:
... ...
......