From 7896b59ab9828295003297547e0210746cce688f Mon Sep 17 00:00:00 2001 From: denis Date: Tue, 9 Dec 2025 14:25:21 +0000 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=20=D1=81?= =?UTF-8?q?=D0=BE=20=D1=81=D0=BB=D0=BE=D0=B2=D0=B0=D1=80=D0=B5=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python/dict.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 python/dict.py diff --git a/python/dict.py b/python/dict.py new file mode 100644 index 0000000..c272abb --- /dev/null +++ b/python/dict.py @@ -0,0 +1,11 @@ +# Работа со словарем + + +# Поиск по значению +if value in structure_db.values(): + +# Обход словаря +for key,val in structure_db.items(): + +# Полчить первый ключ словаря +list(objJSON.keys())[0] \ No newline at end of file