''' Purpose: quick refresher on Boolean calculations ''' # determine whether its input pH level is acidic; i.e., less than 7.0 # acidity limit ACIDIC_THRESHOLD = 7.0 # samples less than threshold are acidic # get pH level of interst reply = input( 'Enter pH level: ' ) pH = float( reply ) print( ) # determine whether sample is acidic is_acidic = ( pH < ACIDIC_THRESHOLD ) # print result print( is_acidic ) # all done