How to check if a dictionary is empty in Python

preview_player
Показать описание


Code from video:
*****************
data = {}
if not data: print('empty')

Connect with us!
*****************
Рекомендации по теме
Комментарии
Автор

Thank you very much for helpful tutorial....appreciated.

sameerk