Python Forum
Help to understand output - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Homework (https://python-forum.io/forum-9.html)
+--- Thread: Help to understand output (/thread-15514.html)



Help to understand output - Pippi - Jan-20-2019

Hi, I have loaded a lot of files under one variable. The output looks like this:

[Seq('KATIPSESP', ProteinAlphabet()), Seq('PSESPFAAA', ProteinAlphabet())]
[Seq('ASRLLLNNG', ProteinAlphabet()), Seq('SRLLLNNGA']
I need to compare the different list, but I am unsure how to do that because I am unsure of the output. Everything I do, is done to each list. Eg:

print(protein[1][0]) 
Output:
K A
Help?

Thanks in advance :)


RE: Help to understand output - stullis - Jan-20-2019

Could you provide more of the code? This is a bit too scant to troubleshoot.