python开发环境:Python(程序运行基础(引擎))、第三方类库(功能拓展)、编辑器(提高代码编辑效率)
python开发环境:Python(程序运行基础(引擎))、第三方类库(功能拓展)、编辑器(提高代码编辑效率)
Numpy
pandas
scikit-learn
print('hello,world')
长按CTRL键可以打开各个函数的使用说明
#print('hello world')
string='hello world'
f=open('hello.txt','w')#以写的方式打开文件
f.write(string)#将字符串写入被打开的文件中
f.close()#关闭文件
机器学习=【‘决策树’,’神经网络‘,’支持向量机‘】
for i in 机器学习
prin t(i)
print(i)
x = []
n = len(x)
for i in range(n):
for j in range(i):
if
import math
n = 10
width= 2*math.pi/n
x = [];y=[]
for i in range(n):
x.append()
for i in x:
y.append(abs(math.sin(i)))
res = string + ' is xxx'
append 是新增的意思