Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. list = {
  2. "key1": "value1",
  3. "key2": "value2"
  4. }
  5.  
  6. for x in list:
  7. print(x)
  8.  
  9. key1
  10. key2
  11.  
  12. y = list["key1"]
  13. print(y)
  14.  
  15. value1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement