Advertisement
Dammiejoy20

Untitled

Mar 8th, 2020
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. #This is an empty dictionary
  2. empty = {}
  3.  
  4. #This is a dictionary with key-value pairs
  5. my_dict = {"Born": 47, "River": 13, "Miss": 24}
  6.  
  7. #This is a dictionary with key-value pairs with tuples as keys and values as booleans
  8. winning_lottery_numbers = {(12, 14, 45): True, (67, 84, 90): False}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement