In the example below from the python docs
(http://docs.python.org/tut/node7.html#SECTION007140000000000000000), I
am not able to understand the ** operator in the following expression:

>>> [(x, x**2) for x in vec]

I understand the list comprehension as a whole but have forgotten the
** operator's use. Can someone please guide me.

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

Reply via email to