Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- empty = {} #Creates a dictionary of an empty key-value
- my_dict = {"book":1, "Boys":3, "Girls":4} #Creates a my_dict dictionary of 3 Key_values
- winning_lottery_numbers = dict([("class", True),("School", False)]) #Creates a dictionary from a tupule using the dict function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement