You are here: Home Teaching advanced-python-nbn-2006 week-6 eg6_1.py

eg6_1.py

"""
eg6-1.py: A few toy commands to demostrate the use of the debugger.
"""

def build_concensus (seqs):
   assert (0 < len (seqs))
   theAns = ''
   for item in seqs:
      print item
      theAns += item
   return theAns

seq_list = ['abc', 'def', 'ghi']
theCon = build_concensus (seq_list)
print theCon
Document Actions
Visitors
Locations of visitors to this page
 
Personal tools