#NEWLINE# def get_first( dct , * keys ) : #NEWLINE# #INDENT# '\n    Given a dictionary, find the value for the first available key in the\n    list of keys. Otherwise, return none.\n    ' #NEWLINE# for key in keys : #NEWLINE# #INDENT# if ( key in dct ) : #NEWLINE# #INDENT# return dct [ key ] #NEWLINE# #UNINDENT# #UNINDENT# return None