AbsDisplay.py
def show_banner(self, string_list, star = '*'):
        '''
        Enumerate an array of strings into a 
        single-character self.display box.
        '''
        if not star:
            star = '*'
        star = star[0]
        sz = len(max(string_list, key=len))
        max_ = sz + 4
        self.display(star * max_)
        for str_ in string_list:
            self.display(star + ' ' + str_.center(sz) + ' ' + star)
        self.display(star * max_)
        return sz

        Enumerate an array of strings into a 
        single-character self.display box.
        
Enumerate an array of strings into a
single-character self.display box.
Enumerate an array of strings into a single - character self . display box .
def show_banner(self, string_list, star = '*'):
        if not star:
            star = '*'
        star = star[0]
        sz = len(max(string_list, key=len))
        max_ = sz + 4
        self.display(star * max_)
        for str_ in string_list:
            self.display(star + ' ' + str_.center(sz) + ' ' + star)
        self.display(star * max_)
        return sz
def show_banner ( self , string_list , star = '*' ) : if not star : star = '*' star = star [ 0 ] sz = len ( max ( string_list , key = len ) ) max_ = sz + 4 self . display ( star * max_ ) for str_ in string_list : self . display ( star + ' ' + str_ . center ( sz ) + ' ' + star ) self . display ( star * max_ ) return sz
Enumerate an array of strings into a
single-character self.display box.
Enumerate an array of strings into a single - character self . display box .
'''
        Enumerate an array of strings into a 
        single-character self.display box.
        '''
self
string_list
star