I couldn't remember what a mode was so I looked at: http://www.mathgoodies.com/lessons/vol8/mode.htmlIt 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 isa variable that contains more then one word.2. Write a function called remove_duplicates that takes a list and returns anew 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