total=0
for a in range(1,5):
for b in range(1,5):
for c in range(1,5):
if a!=b and a!=c and b!=c:
total = total + 1
print(a, b, c)
print(total)
标签:1234,数字,组合,range,print,total From: https://www.cnblogs.com/sunlin1107/p/17865263.html
total=0
for a in range(1,5):
for b in range(1,5):
for c in range(1,5):
if a!=b and a!=c and b!=c:
total = total + 1
print(a, b, c)
print(total)
标签:1234,数字,组合,range,print,total From: https://www.cnblogs.com/sunlin1107/p/17865263.html