python基本语法复习【针对好久没碰python需快速复习上手的人群】
第一个程序
string = 'hello world'
f = open('hello.text','w')
f.write(string)
f.close()
机器学习 = ['决策树','神经网络','支持向量机']
for i in 机器学习:
print(i)
print(i)
固定数据类型
import math
a = -3.5
res = abs(a)
res = math.sin(a)
print(res)
列表构建及索引操作
# list 列表
al...
原创
2022-04-15 17:26:30 ·
538 阅读 ·
0 评论