Contact: aviboots(AT)netvision.net.il
39,914 questions
51,847 answers
573 users
dict = {} if not dict: print('Empty') else: print('Not empty') ''' run: Empty '''
dict = {} if (len(dict) == 0): print('Empty') else: print('Not empty') ''' run: Empty '''