2012年2月22日 - UPDATE: If the two variables x and y are to be chosen from one list, you can use the repeat keyword (as proposed by agf): import itertools for x, ...
stackoverflow.com