标签:put print raw_input python ber input nbsp 组成 range
for i in range(1,5):
for j in range(1,5):
for k in range(1,5):
if (i!=j) and (j!=k) and (i!=k):
print i,j,k
#任意三个数可组成多少不重复的三位数
st=[]
for i in range(1,4):
sa=int(raw_input(‘your number :‘))
st.append(sa)
for l in st:
for m in st:
for n in st:
if (l!=m) and (m!=n) and (l!=n):
print l,m,n
python基础(1)#1,2,3,4可组成多少不重复的三位数
标签:put print raw_input python ber input nbsp 组成 range
原文地址:http://www.cnblogs.com/jietingting/p/7076796.html