- 博客(16)
- 资源 (1)
- 收藏
- 关注
原创 图表matplotlib
import numpy as np #导入科学计算库 import matplotlib.pyplot as plt #导入可视化库 a=np.arange(4.2,32,2) a=np.linspace(2*np.pi,-1*np.pi,10) plt.plot(a,-a*1.5,'ro-',label='a') plt.plot(a,a/9,'x--',label='b') plt.plot(a,a*4.51,'*',label='c') plt.plot(a,a*3,'--',label=.
2022-01-02 13:29:29
679
原创 网络的爬虫
#图片爬取 import requests r=requests.get('https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fpic1.win4000.com%2Fwallpaper%2F2019-11-07%2F5dc3df32a1503.jpg&refer=http%3A%2F%2Fpic1.win4000.com&app=2002&size=f9999,10000&q=a80&n=0&g=0.
2021-12-27 17:27:54
382
原创 python三角形面积公式
#三角形的面积.py #输入变量 a=input('请输入三角形的边长a=') a=float(a) h=input('请输入三角形的高h=') h=float(h) #求面积公式 S=a*h/2 #输出变量 print('三角形的面积S%f',S )
2021-10-17 19:47:05
1019
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅
1