![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
緣知有理
这个作者很懒,什么都没留下…
展开
-
2021-03-30python笔记
python是解释型、面向对象语言。性能较低。特点:可读性强,简洁python是由C语言开发,但不再有C的复杂数据类型免费开源丰富的库可扩展性。胶水语言应用范围科学计算人工智能WEB服务端和大型网站后端GUI开发游戏开发移动设备嵌入式设备系统运维大数据10.云计算python解释器C python使用C实现的,常用J python使用JAVA实现Iron python . NET平台上使用的解释器。pypy 使用python实现的。DALL丢失略原创 2021-03-30 23:31:57 · 82 阅读 · 0 评论 -
双色球所有红球组合1107568种组合再乘以16种蓝球得17721088
import itertoolsc = list(itertools.combinations([1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],6))for i in range(len(c)): file = open( 'cc.txt','a',encoding="utf-8") file.write(str(i+1) + str(c[i])+"\n原创 2021-03-23 10:46:40 · 979 阅读 · 1 评论 -
2021年2月11日 python实现双色球系统
python实现双色球系统有谁知道如何实现把所有组合全部输出,欢迎讨论缘视频连接import random #导入随机模块以下的代码块层层递进,注意领悟逻辑,完整代码在最后红球部分import random #导入随机模块red_ball = random.randint(1,33) #在1-33范围产生随机数后存到red_ball,且red_ball首次的值为1print(red_ball) import randomfor i in range(6): #生成原创 2021-02-11 03:05:55 · 646 阅读 · 0 评论