Skip to content

Instantly share code, notes, and snippets.

Programming with love

Mariam AlJamea Maryom

Programming with love
Block or report user

Report or block Maryom

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Find segment in set of records
segments = [["G", "T", "C", "G", "C"], ["C", "G", "A", "C", "A"], ["C", "A", "T", "T", "A"], ["G", "A", "G", "A", "T"]]
for segment in segments:
for record in records:
if record.endswith(''.join(segment)):
print record
You can’t perform that action at this time.