Hello, (I am very new to python) I built a dictionary d={} of lists similar to this :
d = { 'a': ['apricot', 'apple'], 'b': ['beach', 'bear', 'bottle'], 'c': ['cold', 'cook', 'coleslaw'], 'd': ['deep'], 'e': ['expression', 'elephant'] } Now i want to go through this dictionary and remove all rows containing only one entry. How should I do that? Question 2 : where should I have found this answer myself? (apart from here) Thank you for your help. Mr. 427 _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor