Dictionary (hash)


  1. Dictionary
  2. keys
  3. Loop over keys
  4. Loop using items
  5. values
  6. Not existing key
  7. Get key
  8. Does the key exist?
  9. Does the value exist?
  10. Delete key
  11. List of dictionaries
  12. sets
  13. set operations
  14. Shared dictionary
  15. Exercise: count characters
  16. Exercise: count words from a file
  17. Exercise: Apache log
  18. Exercise: Combine lists again
  19. Exercise: counting DNA bases
  20. Exercise: Count Amino Acids
  21. Solution: count characters
  22. Solution: count words
  23. Solution: Apache log
  24. Solution: Combine lists again
  25. Solution: counting DNA bases
  26. Solution: Count Amino Acids
  27. Loop over dictionary keys
  28. Do not change dictionary in loop