Last active
April 8, 2019 08:12
-
-
Save StephenFordham/9e9a4ad9450130bac2b8e4505d8240b0 to your computer and use it in GitHub Desktop.
Regex Example 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
DNA = 'GAGCGCTAGCCAAA' | |
if re.search('AAA', DNA): | |
print("Tri-nucleotide found!") | |
#console output | |
# Tri-nucleotide found! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment