Yleina

导航

2023年12月18日 #

jieba分词

摘要: 尾号为1,2,3的同学做,西游记相关的分词,出现次数最高的20个。 ```import jieba # 读取a56爆大奖在线娱乐文件 path = "西游记.txt" file = open(path, "r", encoding="utf-8") text = file.read() file.close() # 阅读全文

posted @ 2023-12-18 20:25 伊蕾娜。 阅读(5) 评论(0) 推荐(0) 编辑

numpy、scipy、pandas、matplotlib的读书报告

摘要: numpy、scipy、pandas、matplotlib的读书报告: 一、基本函数的用法 numpy numpy是Python中用于进行科学计算的基础模块,它提供了高效的多维数组对象ndarray,以及相关的数学运算和线性代数函数。numpy的主要功能有: 创建和操作多维数组,如使用np.arra 阅读全文

posted @ 2023-12-18 20:22 伊蕾娜。 阅读(16) 评论(0) 推荐(0) 编辑

2023年12月11日 #

爬虫作业

摘要: 1.get()访问百度主页: import requests url = 'https://www.baidu.com' for i in range(20): response = requests.get(url) print(f"第{i+1}次访问") print(f'Response sta 阅读全文

posted @ 2023-12-11 22:18 伊蕾娜。 阅读(2) 评论(0) 推荐(0) 编辑

2023年11月19日 #

7段数码管绘制

摘要: 请学号最后一个尾号为(0,1)的同学。画出,系统时间。具体包括:年,月,日,小时。 # -*- coding: utf-8 -*- """ Created on Sun Nov 19 20:38:03 2023 @author: ZhengYuanMin """ import turtle, dat 阅读全文

posted @ 2023-11-19 20:49 伊蕾娜。 阅读(4) 评论(0) 推荐(0) 编辑

python博客作业2

摘要: 采用乒乓球比赛规则 一局比赛:???????????????????????????????????????????????????????????????????????????????????????????????????????????????? ?????????????????????? 阅读全文

posted @ 2023-11-19 19:57 伊蕾娜。 阅读(5) 评论(0) 推荐(0) 编辑

2023年11月13日 #

用python计算圆周率PI,并显示进度条

摘要: 用python计算圆周率PI,并显示进度条 用python计算圆周率PI ??????????????????????????????????????????????????????????????????????????????????????????????????????描述 用python计算圆周率PI???????????????? 阅读全文

posted @ 2023-11-13 19:44 伊蕾娜。 阅读(115) 评论(0) 推荐(0) 编辑