my_list = [] if my_list == []: print('my_list is empty!') else: print('my_list is not empty!')#注意else后面: