2017-5: DNA?

Write code 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

Implementation

You can also run the tests via ⌘/shift + enter