这里是计算机研0本人打算在开学之前学习一下深度学习的相关内容顺便将自己的学习内容进行记录有兴趣的话就关注一下吧^_^深度学习入门的第一步当然是python了python基础在终端输入python就可以打开python了这里可以查看版本以下是一下最基础的语法没什么好解释的啦我相信如果你是科班你一定一看就懂算术计算1-2-12*363**3277/32.3333333333333335数据类型type(10)classinttype(2.4)classfloattype(hello)classstr变量x10y8.2print(x)10x*y82.0type(x*y)classfloat列表a[1,2,3,4,5]print(a)[1,2,3,4,5]len(a)5a[2]3a[2]222print(a)[1,2,222,4,5]a[0:2]#获取下标0-2不包括2[1,2]a[1:]#获取从下标为1开始到末尾的元素[2,222,4,5]a[:3]#获取从第一个元素到下标为3的元素不包括3[1,2,222]a[:-2]#获取从第一个元素到最后一个元素的前两个元素之间的元素[1,2,222]字典me{height:180}me[height]180me[weight]70print(me){height:180,weight:70}布尔型hungryTruenot hungry Falsetype(hungry)classboolsleepFalsesleepand hungry Falsesleepor hungry True函数def hello(name):... print(helloname)...hello(X_Bubble)helloX_Bubble