会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
竹马真心
博客园
首页
博问
闪存
新随笔
订阅
管理
2022年9月21日
[leetcode704. 二分查找] [python] [if-if和if-elif的区别]
摘要: 1 def analyzeAge( age ): 2 if age < 21: 3 print("You are a child") 4 if age > 21: 5 print("You are an adult") 6 else: #Handle all cases were 'age' is
阅读全文
posted @ 2022-09-21 23:56 竹马真心
阅读(41)
评论(0)
推荐(0)
编辑