Guest User

Untitled

a guest
Dec 13th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. dictionary = {'key': 'val', 'key2': 'val2'}
  2. list = ["val", "val2", "val3"]
  3.  
  4. for i in dictionary :
  5. for j in list :
  6. if j == dictionary[i] :
  7. print(i)
Add Comment
Please, Sign In to add comment