摘要: 1)模拟体育竞技分析:(不同学号选做不同题目,必做题)‪‬‪‬‪‬‪‬‪‬‮‬‫‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‭‬‫‬‪‬‪‬‪‬‪‬‪‬‮‬‫‬‭‬‪‬‪‬‪‬‪‬‪‬‮‬‫‬‫‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‮‬ ‪‬‪‬‪‬‪‬‪‬‮‬‫‬‪‬‪‬‪‬‪‬‪‬‪‬ 阅读全文
posted @ 2020-12-15 13:48 zxihua 阅读(90) 评论(0) 推荐(0)
摘要: Numpy: 基础的数学计算模块,以矩阵为主,纯数学。 SciPy: 基于Numpy,提供方法(函数库)直接计算结果,封装了一些高阶抽象和物理模型。比方说做个傅立叶变换,这是纯数学的,用Numpy;做个滤波器,这属于信号处理模型了,在Scipy里找。 Pandas: 提供了一套名为DataFrame 阅读全文
posted @ 2020-12-15 13:42 zxihua 阅读(89) 评论(0) 推荐(0)
摘要: 描述 用python计算圆周率PI‪‬‪‬‪‬‪‬‪‬‮‬‫‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‭‬‫‬‪‬‪‬‪‬‪‬‪‬‮‬‫‬‭‬‪‬‪‬‪‬‪‬‪‬‮‬‫‬‫‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‮‬ ‪‬‪‬‪‬‪‬‪‬‮‬‫‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‭‬‫‬‪‬‪‬ 阅读全文
posted @ 2020-12-14 20:24 zxihua 阅读(227) 评论(0) 推荐(0)
摘要: 请用requests库的get()函数访问如下一个网站20次,打印返回状态,text()内容,计算text()属性和content属性所返回网页内容的长度。(不同学号选做如下网页,必做及格) import requests for i in range (20): print("第",i+1,"次访 阅读全文
posted @ 2020-12-13 18:08 zxihua 阅读(96) 评论(0) 推荐(0)
摘要: import time import turtle as tt def drawGap(): tt.penup() tt.fd(5) def drawLine(draw): drawGap() if(draw): tt.pendown() else: tt.penup() tt.fd(50) dra 阅读全文
posted @ 2020-10-19 19:30 zxihua 阅读(89) 评论(0) 推荐(0)
摘要: Life is short, you need Python 人生苦短,我用Python -- Bruce Eckel 上课听了老师说的一句话,至此难以忘怀,很是受用。老师是知识的传授者,这话果然没毛病,句子反而通顺得很。不同人看待问题的角度各有千秋,颇具个人风格。以我之见,来理解为很好传播pyth 阅读全文
posted @ 2020-09-21 22:20 zxihua 阅读(1301) 评论(0) 推荐(0)
摘要: import math import turtle RADIUS = 100 angleSin18 = math.sin(math.pi * 0.1) * RADIUS angleCos18 = math.cos(math.pi * 0.1) * RADIUS angleSin54 = math.s 阅读全文
posted @ 2020-09-15 19:22 zxihua 阅读(69) 评论(0) 推荐(0)
摘要: import turtle turtle.screensize(600,400,"brown") turtle.setup(600,400,100) turtle.penup() turtle.fd(-100) turtle.pendown() turtle.pensize(7) turtle.pe 阅读全文
posted @ 2020-09-15 18:45 zxihua 阅读(268) 评论(0) 推荐(0)
摘要: import turtle turtle.setup(500,250,0,0) pythonsize=1 turtle.pensize(pythonsize) turtle.pencolor("black") turtle.seth(60) turtle.fd(100) turtle.seth(-6 阅读全文
posted @ 2020-09-15 18:26 zxihua 阅读(214) 评论(0) 推荐(0)