2017-5: DNA?
Write a a function that takes a string representing a nucleotide and returns a 1
if it is a valid DNA string, 0
otherwise. In other words, are all the characters in the string in the set 'ACGT'
?
Examples:
(your_function) 'ATGCTTCAGAAAGGTCTTACG'
1
(your_function) 'Dyalog'
0
(your_function) '' ⍝ an empty string is valid
1
(your_function) 'T'
1
your_function ←
Solutions

