标签:iter int class lis list nbsp imp ons import
1.
list_num = [1, 2, 3, 4] count = 0 for x in list_num: for y in list_num: for z in list_num: if (x!=y and x!=z and y!=z): count += 1 print(str(x)+str(y)+str(z)) print(‘total is %d‘%(count))
法二
标签:iter int class lis list nbsp imp ons import
原文地址:https://www.cnblogs.com/hrunjie/p/12888447.html