摘要: 函数图形 2 绘制.py import numpy as npimport matplotlib.pyplot as plt# 定义函数def f1(x): return x ** 2def f2(x): return np.cos(2 * x)def f3(x): return f1(x) * f 阅读全文
posted @ 2023-05-16 11:15 云边上打盹 阅读(13) 评论(0) 推荐(0)
摘要: 函数图形 1 绘制.py import requestsfrom bs4 import BeautifulSoup as bsimport pandas as pdfrom matplotlib import pyplot as pltdef get_rank(url): count = 0 ran 阅读全文
posted @ 2023-05-16 11:14 云边上打盹 阅读(16) 评论(0) 推荐(0)
摘要: python练习7 import requestsfrom bs4 import BeautifulSoup as bsimport pandas as pdfrom matplotlib import pyplot as pltdef get_rank(url): count = 0 rank = 阅读全文
posted @ 2023-05-16 11:10 云边上打盹 阅读(21) 评论(0) 推荐(0)
摘要: python练习6 from tkinter import *tk = Tk()tk.title("电子算盘") # 窗口名称tank = Canvas(tk, width=1000, height=600, bg='ivory') # 创建画板tank.pack() # 显示画板tank.crea 阅读全文
posted @ 2023-05-16 11:08 云边上打盹 阅读(22) 评论(0) 推荐(0)
摘要: python练习5 import mathclass Point(): def __init__(self,x,y): self.x = x self.y = y def __lt__(self, other): l1 = math.sqrt(self.x**2+self.y**2) l2 = ma 阅读全文
posted @ 2023-05-16 11:05 云边上打盹 阅读(21) 评论(0) 推荐(0)
摘要: python练习4 class Cexception : def __init__(self,year,month,day): if Cexception.judge(year,month,day) : self.year = year self.month = month self.day = d 阅读全文
posted @ 2023-05-16 11:04 云边上打盹 阅读(13) 评论(0) 推荐(0)
摘要: python练习3 class Teacher: def __init__(self, name, gender, birth, zhicheng, work): self.name = name self.gender = gender self.birth = birth self.zhiche 阅读全文
posted @ 2023-05-16 11:02 云边上打盹 阅读(25) 评论(0) 推荐(0)
摘要: python习题2 import mathclass Shape: def cal_perimeter(self): pass def cal_area(self): pass def cal_volume(self): passclass Point(Shape): def __init__(se 阅读全文
posted @ 2023-05-16 11:01 云边上打盹 阅读(20) 评论(0) 推荐(0)
摘要: python练习 class People: def __init__(self, name, gender, age): self.name = name self.gender = gender self.age = age def show(self): print("Name:", self 阅读全文
posted @ 2023-05-16 10:59 云边上打盹 阅读(14) 评论(0) 推荐(0)
摘要: 《构建之法》第八章主要介绍了软件测试的一些相关知识和技巧,内容包括测试的目标、测试分类、测试策略、测试计划和测试执行等。以下是我的阅读笔记: 测试的目标是找出软件的缺陷,以确保软件的质量和可靠性。 软件测试可以分为黑盒测试和白盒测试两种。其中,黑盒测试只测试软件的输入和输出,不考虑内部实现;而白盒测 阅读全文
posted @ 2023-05-16 10:50 云边上打盹 阅读(23) 评论(0) 推荐(0)