string Functions (Strings)
Use functions from the string
module or from base Python to print the
following strings.
'species'
in all capital letters'gcagtctgaggattccaccttctacctgggagagaggacatactatatcgcagcagtggaggtggaatgg'
with all of the occurrences of'a'
replaced with'A'
- ” Thank goodness it’s Friday” without the leading white space
(i.e., without the spaces before
Thank
) - The number of
'a'
s in'gccgatgtacatggaatatacttttcaggaaacacatatctgtggagagg'
. - Print the length of this dna sequence
'gccgatgtacatggaatatacttttcaggaaacacatatctgtggagagg'