I am a newbie in python and I was trying to figure out, how do I differentiate between 2 lists which are as shown below
['11-10-2017', '12:15 PM', 'B.ARTS', 'Linguistics', '', '', 'German', 'Name']
And
['', '', '', '', '', '', '', '']
The Problem is, that both the lists have ''
element, and I want a solid Condition which satisfies that if a list has an item which is a string and not ''
. It is also possible that list has 7 ''
and just one item is a string.