Open synergos91 opened 2 years ago
def which_digit(html): mappingDict={'icon-ji':9, 'icon-dc':'+', 'icon-fe':'(', 'icon-hg':')', 'icon-ba':'-', 'icon-lk':8, 'icon-nm':7, 'icon-po':6, 'icon-rq':5, 'icon-ts':4, 'icon-vu':3, 'icon-wx':2, 'icon-yz':1, 'icon-acb':0, } return mappingDict.get(html,'')
Please update this
def which_digit(html): mappingDict={'icon-ji':9, 'icon-dc':'+', 'icon-fe':'(', 'icon-hg':')', 'icon-ba':'-', 'icon-lk':8, 'icon-nm':7, 'icon-po':6, 'icon-rq':5, 'icon-ts':4, 'icon-vu':3, 'icon-wx':2, 'icon-yz':1, 'icon-acb':0, } return mappingDict.get(html,'')