会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Garybright
博客园
首页
新随笔
联系
订阅
管理
2021年11月4日
if判断与while循环
摘要: 成员运算 定义:判断某个个体是否在某个群体内 关键字:in(在) not in(不在) eg: name_list = ['gary', 'tom', 'jack', 'jason'] name = input('请输入你要查询的学员姓名:') print(name in name_list) #
阅读全文
posted @ 2021-11-04 19:24 JasonBorn
阅读(190)
评论(0)
推荐(0)
公告