Next / Previous / Contents / Shipman's homepage

18. Truths._showInputs(): Display a set of input conditions

tracecase
# - - -   T r u t h s . _ s h o w I n p u t s

    def _showInputs(self, inputList):
        '''Display one set of input conditions.

          [ inputList is a list of boolean values ->
              return a string of those values with True represented
              as T and False as F ]
        '''
        #-- 1
        return ''.join([(T
                         if input
                         else F)
                        for input in inputList])