1. Anaconda and VS Code
- 观看视频 https://www.bilibili.com/video/av20101565?from=search&seid=9054956532582214414
- Anaconda下载安装 https://www.anaconda.com/
- VScode下载安装 https://code.visualstudio.com/
2.python例子
1.
a,b = 100,200
print(f'{a}+{b}={a+b}')
运行结果:
100+200=300
2.
import matplotlib.pyplot as plt
import math
import numpy as np
a = list(np.arange(0 , 10 , 0.1))
b = list(map(math.sin, a))
plt.plot(a,b, label = 'y = sin(x)')
plt.legend()
plt.show()
运行结果: