-
Add in exception handling to a script from Problem Set 8 or any script you have written that uses I/O to open and read a FASTA file.
Throw and handle (try/except) the exception
- if no input is provided
- if the file cannot be opened
- if the file does not end in '.fasta' or '.fa' or '.nt'
- if a non ATGCN charcter is found in the sequence