Advertisement
sphinx2001

Словарь для фильтрации

Feb 18th, 2023
936
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.54 KB | None | 0 0
  1. a = {
  2. 'Sidorov': {'age': 1995, 'hobby': 'soccer', 'car': 'BMW'},
  3. 'Lukov': {'age': 2002, 'hobby': 'basketball', 'car': 'Opel'},
  4. 'Petrov': {'age': 1991, 'hobby': 'chess', 'car': 'BMW'},
  5. 'Gorbachev': {'age': 1984, 'hobby': 'tennis', 'car': 'BMW'},
  6. 'Kostin': {'age': 2000, 'hobby': 'swimming', 'car': 'Audi'},
  7. 'Isaev': {'age': 2005, 'hobby': 'music', 'car': 'BMW'},
  8. 'Eliseev': {'age': 1999, 'hobby': 'chess', 'car': 'Audi'},
  9. 'Kozlov': {'age': 2004, 'hobby': 'soccer', 'car': 'Opel'},
  10. 'Bukov': {'age': 1995, 'hobby': 'basketball', 'car': 'Audi'},
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement