import re s = 'NM_001001182.3 Mus musculus bromodomain adjacent to zinc finger d...
使用 Regular Expression 解法: import re x = 'NM_00100(1182.3) Mus musculus (bromodo...
附上比較笨的做法: s = 'NM_001001182.3 Mus musculus bromodomain adjacent to zinc finger d...
def insidelastparentheses(str): return str.rpartition('(')[2].partition(')')[0...
參考用 product = {"clothes": 600, "pants": 500, "skirts&qu...