会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
喵是一只居
博客园
首页
博问
闪存
新随笔
订阅
管理
2020年3月14日
python学习日记
摘要: python学习日记3 class-5列表的操作,多维列表 1)修改列表中元素 alist[i]=n i为被修改数在列表中的位置,n为新的赋值 2)增加一个数到列表的最后面 用append函数 3)在列表中间增加元素 使用insert函数,其他元素会向后移 a_list.insert(i,n) 4)
阅读全文
posted @ 2020-03-14 15:02 喵是一只居
阅读(98)
评论(0)
推荐(1)
2020年3月13日
Python学习日记
摘要: Python学习二 class-3 while for while后语句要跟: 距离为tab键距离 在while后表示的范围内进行循环 例如 while False: print("hello") 代码就不会执行,若是改成true,电脑会一直执行,可能会死机. for循环 range函数可产生括号中
阅读全文
posted @ 2020-03-13 18:15 喵是一只居
阅读(92)
评论(0)
推荐(1)
2020年3月11日
python学习日记
摘要: python学习第一天 # python学习报告 class-1-print整形 int 10,100浮点形 float 1.2 3.520字符串 string “abc" print("hello world")按住 shift+enter运行语句字符串+字符串运行print("hello" +
阅读全文
posted @ 2020-03-11 23:38 喵是一只居
阅读(66)
评论(0)
推荐(0)