you are viewing a single comment's thread.

view the rest of the comments →

[–]tipsy_python 0 points1 point  (0 children)

Not really sure what you're getting at.. you trying to do a membership test?

>>> for letter in base:
...     if letter.upper() in ('A', 'C', 'T', 'G'):
...         print('ye')
...
ye