Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб How to get all the keys from a dictionary in Python в хорошем качестве

How to get all the keys from a dictionary in Python 6 лет назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



How to get all the keys from a dictionary in Python

In this short tutorial, you will learn how to extract all the keys from a dictionary in Python, and how to use them with set operations. Want to learn more? See our Python classes at https://goo.gl/Y3H7Uz. Read the documentation for dict views here: https://docs.python.org/3/library/std... Read the documentation for sets here: https://docs.python.org/3/library/std... Code from video: ***************** employees = {1: 'michael', 2: 'eric', 3: 'michael'} employees.keys() employees.keys() & {2, 3} Connect with us! *****************   / enthought     / enthought     / enthought  

Comments