作者 小蓝鸟 nedbatWhat if you want to look up #Python dict keys even if they are scrambled a bit? You can pre-populate a dict with permuted strings: