会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
Artwalker's Blog
博客园
首页
新随笔
管理
2023年3月21日
5 第五章 if语句
摘要: 一个简单示例 cars = ['audi', 'bmw', 'subaru', 'toyota'] for car in cars: if car == 'bmw': print(car.upper()) else: print(car.title()) # Audi # BMW # Subaru
阅读全文
posted @ 2023-03-21 15:24 Artwalker
阅读(8)
评论(0)
推荐(0)
编辑
公告
Live2D