I have this dictionary:
a={'sting1':1,'string2':2,'string3':3,'string4 null':4}
I want to delete items where key contains word null.
output={'sting1':1,'string2':2,'string3':3}
I found startswith application, and tried to work with key.find('null')!=-1 , but that didn't work out