def __repr__(self):
        '''String to print when object is called directly.'''
        header = 'Peptide:'
        sequence = self._sequence.__repr__()
        return ' '.join([header, sequence])
def __repr__ ( self ) : header = 'Peptide:' sequence = self . _sequence . __repr__ ( ) return ' ' . join ( [ header , sequence ] )
String to print when object is called directly.