Contact: aviboots(AT)netvision.net.il
41,637 questions
54,300 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 '''