python 学习 if语句while语句
2018-03-20 11:14
295 查看
一些基本的判断:
and,or,==,!=,<,>
if语句age = 25
if age < 10
...
elif age <= 20
...
else age > 20
...while语句while 'saber' in cc:
cc.remove('saber')break ,continue 同样适用于以上
and,or,==,!=,<,>
if语句age = 25
if age < 10
...
elif age <= 20
...
else age > 20
...while语句while 'saber' in cc:
cc.remove('saber')break ,continue 同样适用于以上
相关文章推荐
- Python学习--控制语句:if, while, for, break, continue
- python控制流语句if、while、for、break、contnue的学习———ubuntu下python的学习(2)
- python学习2——if语句、elif、if嵌套、while循环、while嵌套
- python学习小结2:if和while控制语句
- Python基础,基本类型(整型,浮点数等)数据结构(List,dic(Map),Set,Tuple),控制语句(if,for,while,continue or break):来自学习资料
- Python学习笔记(九):if、while、for语句
- python学习小结2:if和while控制语句
- python学习之while语句
- 学习Python语言---If语句
- Python新手学习基础之循环语句——While循环
- Python还是很重要的,不能丢。学习IF和WHILE
- Python学习入门基础教程(learning Python)--3.1Python的if分支语句 .
- 【python摘录02】if语句和while语句
- python控制流语句-while,for,if
- python 学习之cmd下的if语句
- Python学习笔记五:while语句
- Python 猜价格游戏:while 结合 if学习使用(2)
- python 学习笔记 if语句
- Python_3_学习之路_(1)变量_用户交互_if_else___while__for
- Python学习入门基础教程(learning Python)--3.2 if-else分支语句 .