>>> from collections import OrderedDict
>>> nav_map = OrderedDict([(r'<','跌破'),(r'<=','跌破'),(r'>=','突破'),(r'>','突
破')])
>>>
'跌破'
>>>
>>> from collections import OrderedDict
>>> information_map = OrderedDict(
... [
... ("more_than", "突破"),
... ("more_than_or_equal_to", "突破"),
... ("less_than", "跌破"),
... ("less_than_or_equal_to", "跌破")
... ])
>>> nav_notation = "less_than_or_equal_to"
>>> msg = "净值%s预警线" % information_map.get(nav_notation)
>>> msg
'净值跌破预警线'
>>>