会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
liuyecheng
博客园
首页
新随笔
联系
订阅
管理
2023年12月2日
python第四次笔记
摘要: 循环和字符串 循环 for循环 for x in range(x,y) for x in range(1,10,2): print(int(x)) 表示遍历1到9之间的数,步长为2 即打印1 3 5 7 9 while循环 while(条件): 执行行为 while True: print("nih
阅读全文
posted @ 2023-12-02 18:47 liuyecheng
阅读(19)
评论(0)
推荐(0)
公告