Even if language permits
sum(x*w for x, w in zip(x, w))
would seem confusing for anyone watching the codeMaybe sum(xi*wi for xi, wi in zip(x, w)) would be more appropiate Andrei -- http://mail.python.org/mailman/listinfo/python-list
Even if language permits
sum(x*w for x, w in zip(x, w))
would seem confusing for anyone watching the codeMaybe sum(xi*wi for xi, wi in zip(x, w)) would be more appropiate Andrei -- http://mail.python.org/mailman/listinfo/python-list