Created
          May 15, 2017 15:47 
        
      - 
      
- 
        Save Everfighting/c848e5594aa34530256e43c28503cbd7 to your computer and use it in GitHub Desktop. 
    筛出字典{‘Lilei’:79,'Jim':88,'Lucy':92}中高于90的项
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | from random import randint | |
| d = {x: randint(60,100) for x in range(1,21)} | |
| result = {k : v for k, v in d.iteritems() if v > 90} | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment