2018-05-29

i =0

for a in range(1,5):

    for b in range(1,5):

        for c in range(1,5):

            if (a!=b)and(b!=c)and(c!=a): 

                print('%d,%d,%d'%(a,b,c))

                i=i+1 

                print('第%i个数字'%i) 9

你可能感兴趣的:(2018-05-29)