2022.06.04学习内容
对应PDF在CSDN资源中
English Word
Python
Python循环
1.掌握while循环语法
死循环
while True:
##程序中计数器一般从0开始##
不换行输出:
print(“你好”,end=“)
print()输出,末尾会加rn,用end=“”可以替换rn
2.掌握break和continue使用
break,终止当前循环
continue,跳出当前循环,进行下次循环
3.掌握for循环语法
for item in items:
range(start,stop,step),范围为[start,stop)
range函数生成的是整数序列
range可以生成降序范围:
range(20,10,-1),生成20——11的降序范围
4.使用for进行遍历字符串、列表、元组,Python的for循环很像Java的ForEach
English Word
anyway 无论如何
parking lot 停车场
calendar 日历
hockey 曲棍球
bin 垃圾桶
frightened 惊吓的
but 但是
by 通过
explorer 探险者
helicopter 直升机
driver 司机
camel 骆驼
CD player光盘播放器
heavy 重的
hit 侵袭
arrive 到达
fast 快速的
drink 喝
message 信息
eat 吃
Review
make-up 化妆
well-known 有名的
windsurfing 风帆运动
litre 升
paragraph 段落-
entrance 入口
bother 打扰
instrument 工具、乐器
ceiling 天花板、上限
credit card 信用卡
snowboarding 滑雪运动
bathing suit 游泳衣
sign 签名
normal 正常的、普通的
advice 建议
degree 程度、学位
college 大学
married 结婚的
yogurt 酸奶
harbour 港口
labour 劳动
secretary 秘书
record 记录
half-price 半价
red 红色
cap 帽子
share 分享
son 儿子
brush 刷子
alright 很好
date 日期
left-hand 左手的
invitation 邀请、请帖
platform 平台
congratulation 祝贺
train 火车
heating 加热
PC
pharmacy 药学
click 点击
barbecue 烧烤
motorbike 摩托车
actor 演员
horror 震惊
mechanical 技工、机械师
omelette 鸡蛋饼
euro 欧元
doll 玩偶
port 港口
petrol 汽油
miss 错过