Even if language permits
      sum(x*w for x, w in zip(x, w))
would seem confusing for anyone watching the code

Maybe
   sum(xi*wi for xi, wi in zip(x, w)) 
would be more appropiate

Andrei

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

Reply via email to