1
xylsmmmmmmmm3 OP shuzi = {'1': {'end': 3247341040L, 'star': 3247341040L}, 2: {'end': 1033039063, 'star': 1033039056},3:{'end':111,'star':2222222222222}}
for key1 in shuzi.keys(): print key1 if not shuzi.has_key(key1): break for key2 in shuzi: """ 有没有更好得解决方法? |
2
xylsmmmmmmmm3 OP shuzi = {'1': {'end': 3247341040L, 'star': 3247341040L}, 2: {'end': 1033039063, 'star': 1033039056},3:{'end':111,'star':2222222222222}}
for key1 in shuzi.keys(): if not shuzi.has_key(key1): break for key2 in shuzi: |