Hello Thank you for the email. Yes I think I was reading the problem wrong but I did write the code and it works fine. Problem two is a problem however. edward -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Martin Slack Sent: Saturday, October 24, 2009 5:57 PM To: programmingblind@xxxxxxxxxxxxx Subject: Re: Help with python I couldn't remember what a mode was so I looked at: http://www.mathgoodies.com/lessons/vol8/mode.html It would seem that both problems have to do with counting the numbers of identical elements in a set or list. Can you write a programme to do that as a start? Martin ----- Original Message ----- From: "edward" <personal.edward@xxxxxxxxx> To: <programmingblind@xxxxxxxxxxxxx> Sent: Saturday, October 24, 2009 10:02 PM Subject: Help with python > hello all, > > I have 2 questions on my homework assignment that i cannot figure out. > > 1. write a function that will return the mode for a data set. A data set > is > a variable that contains more then one word. > 2. Write a function called remove_duplicates that takes a list and returns > a > new list with only the unique elements from the original. Hint: they don't > have to be in the same order. > > any help will be greatly appreciated. > Edward > > __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind