• 大小: 0.04M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-30
  • 语言: Python
  • 标签: python  100例python  

资源简介

python 入门级实例100个(非常基础,适合新手)

资源截图

代码片段和文件信息

‘‘‘
【程序1】
题目:有1、2、3、4个数字,能组成多少个互不相同且无重复数字的三位数?都是多少?
1.程序分析:可填在百位、十位、个位的数字都是1、2、3、4。组成所有的排列后再去
      掉不满足条件的排列。 
2.程序源代码:
‘‘‘
for i in range(15):
    for j in range(15):
        for k in range(15):
            if( i != k ) and (i != j) and (j != k):
                print ijk

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        390  2007-09-15 11:46  python100例\python100例\JCP001.py

     文件       1093  2007-09-15 13:09  python100例\python100例\JCP002.py

     文件        782  2007-09-15 13:28  python100例\python100例\JCP003.py

     文件        649  2007-09-15 13:44  python100例\python100例\JCP004.py

     文件        362  2007-09-15 14:02  python100例\python100例\JCP005.py

     文件        245  2007-09-15 14:02  python100例\python100例\JCP006.py

     文件        392  2007-09-15 17:34  python100例\python100例\JCP007.py

     文件        530  2007-09-15 14:23  python100例\python100例\JCP008.py

     文件        583  2007-09-15 15:04  python100例\python100例\JCP009.py

     文件        374  2007-09-15 15:10  python100例\python100例\JCP010.py

     文件        660  2007-09-15 15:22  python100例\python100例\JCP011.py

     文件        589  2007-09-15 15:29  python100例\python100例\JCP012.py

     文件        444  2007-09-15 15:32  python100例\python100例\JCP013.py

     文件        699  2007-09-15 15:40  python100例\python100例\JCP014.py

     文件        403  2007-09-15 15:49  python100例\python100例\JCP015.py

     文件        535  2007-09-15 16:09  python100例\python100例\JCP017.py

     文件        410  2007-09-15 16:17  python100例\python100例\JCP018.py

     文件        569  2007-09-15 17:06  python100例\python100例\JCP019.py

     文件        344  2007-09-15 17:11  python100例\python100例\JCP020.py

     文件        418  2007-09-15 17:16  python100例\python100例\JCP021.py

     文件        742  2007-09-15 20:18  python100例\python100例\JCP022.py

     文件        579  2007-09-15 20:25  python100例\python100例\JCP023.py

     文件        565  2007-09-15 20:36  python100例\python100例\JCP024.py

     文件        412  2007-09-15 20:53  python100例\python100例\JCP025.py

     文件        275  2007-09-15 20:58  python100例\python100例\JCP026.py

     文件        329  2007-09-15 21:14  python100例\python100例\JCP027.py

     文件        494  2007-09-15 21:17  python100例\python100例\JCP028.py

     文件        560  2007-09-15 21:26  python100例\python100例\JCP029.py

     文件        340  2007-09-15 21:40  python100例\python100例\JCP030.py

     文件       1202  2007-09-15 22:26  python100例\python100例\JCP031.py

............此处省略71个文件信息

评论

共有 条评论