I have this code
l = ['vbg', 'vkb', 'vv', 'vbj', 'vz',...] #the list continues 
for x in l:
    if len(x) > 2:
        i = l.index (x)
        l.pop(x)
print (l)
Output:
['vkb','vv','vz']
My desired output is this:
['vv','vz']
I know why this happening but I don't know how to fix this
