Mike Meyer wrote:
> def my_search(another, keys, x):
>      new = dict()
>      for k in keys:
>          if another[k] >= x:
>             new[k] = another[k]
>      return new
> 
BTW, this would raise exception if k is not in another.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to