[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>  Hey guys
>  I haev this homework assignment due today
>  I don't necessarily want the answers, but need help on how to approach
>  it/the steps i need to solve the problems
>  Thanks
> 
>  #  (2 Points) Write a python function howMany(item,lst) which accepts
>  an item and a lst of items and returns the number of times item occurs
>  in lst. For example, howMany(3,[1,2,3,2,3]) should return 2.

Read section 4.1, 4.2 and 4.6 from here

  http://docs.python.org/tut/node6.html

-- 
Nick Craig-Wood <[EMAIL PROTECTED]> -- http://www.craig-wood.com/nick
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to