Skip to content

Conversation

@ViktoriaW
Copy link

yay

Copy link

@branchwelder branchwelder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job! Your code is well formatted and easy to understand, you chose reasonable variable names, and solved the problems appropriately.

"""
# TODO: implement this
pass
complement_list= [] #creating empty complement list

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to comment every line - just comment the things that might be unclear to someone reading your code (or if you want to document something important).

return orf
else:
orf = orf + codon
return dna[:]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dna means the same thing as dna[:]. Here you're essentially taking a slice of the whole string, when you could just return the string. (This doesn't change the meaning of your code at all, however.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants