''' Purpose: demonstrate optional parameters ''' def chant( msg='Wahoo Wah', n=3 ) : # we assign the parameter msg the default value of "Wahoo Wah" and n to the default value of 3 ''' Prints string parameter msg, n times ''' for i in range( 0, n ) : print( msg ) return