filmov
tv
How to check if a key is in a dictionary in Python

Показать описание
Code from video:
*****************
employees = {1: 'michael', 2: 'eric', 3: 'michael'}
2 in employees
4 in employees
%timeit 4 in employees
Connect with us!
*****************