【python】題目:有1、2、3、4個數字,能組成多少個互不相同且無重復數字的三位數?都是多少? # 最簡單方法print [(x, y, z) for x in xrange(1,5) for y in xrange(1,5) for z in xrange(1,5) if ((x ...