摘要:
NumPy篇 numpy.around() 函数返回指定数字的四舍五入值 numpy.floor() numpy.floor() 返回小于或者等于指定表达式的最大整数,即向下取整 numpy.ceil() numpy.ceil() 返回大于或者等于指定表达式的最小整数,即向上取整 numpy.rec 阅读全文
posted @ 2021-11-14 12:00
迂幵
阅读(35)
评论(0)
推荐(0)
摘要:
print("模拟排球比赛,学号为34饶伟超")from random import random def printInfo(): # 打印程序介绍信息 print('这个程序模拟两个选手A和B的某种竞技比赛') print('程序运行需要A和B的能力值(以0到1之间的小数表示)') def ge 阅读全文
posted @ 2021-11-14 11:58
迂幵
阅读(41)
评论(0)
推荐(0)
摘要:
import jieba with open ("D:\红楼梦.txt",encoding="ANSI") as file: f = file.read() del_list ={"什么","一个","我们","那里","如今","你们","说道","起来","姑娘","这里","出来","他们", 阅读全文
posted @ 2021-11-14 11:49
迂幵
阅读(57)
评论(0)
推荐(0)
浙公网安备 33010602011771号