Answer to Question #141327 in Python for sewwandi

Question #141327
Write a program to calculate the molecular weight of a protein sequence assuming
a. mol.wt per aminoacid = 110 Da if sequence length is less than 10
b. mol.wt per aminoacid = 105 Da if sequence length is more than 10
1
Expert's answer
2020-11-02T11:13:21-0500
thread = input("Enter the sequence of amino acids separated by a space: ").split()

molWt = len(thread)

if (molWt > 10):

    molWt *= 105

else:

    molWt *= 110

print("Molecular weight is: " + str(molWt))

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS