''' Purpose: Exercise module olio ''' import olio # uncomment below lines to test voting_age() x = olio.voting_age() y = olio.voting_age() print( x ) print( y ) print() # uncomment below lines to test has_blanks() line1 = input( 'Enter text: ' ) line2 = input( 'Enter text: ' ) b1 = olio.has_blanks( line1 ) b2 = olio.has_blanks( line2 ) print( b1 ) print( b2 ) print() # uncomment below lines to test great_seal() rv1 = olio.great_seal() # no assignment statement here, which signals that the function does not return anything rv2 = olio.great_seal() # any function with no return statement will return None by default # in CS 1112, any function that uses print() will return None, just as the print() function returns None print() print( "rv1:", rv1 ) # these are None because great_seal() does not return anything print( "rv2:", rv2 ) # uncomment below lines to test a_ing() reply1 = input( 'Enter integer: ' ) reply2 = input( 'Enter integer: ' ) reply3 = input( 'Enter integer: ' ) nbr1 = int( reply1 ) nbr2 = int( reply2 ) nbr3 = int( reply3 ) olio.a_ing( nbr1 ) # we are passing in copies of the values of nbr1, a_ing cannot access nbr1 print() olio.a_ing( nbr2 ) print() olio.a_ing( nbr3 ) print()