12 2019 档案
摘要:您或许熟悉两种比较方法。一种是 than 搭配 more + 形容词,还有一种是像 bigger (更大)和 better (更好)这样的单词。 Bangkok is more expensive than New Delhi. 曼谷比新德里更费钱。 Spain is a better place
阅读全文
摘要:[Todd]: Excuse me, could you help me? [Passerby]: Sure. What do you need? [Todd]: How do I get downtown? I'm staying a hotel there. [Passerby]: Uh,wel
阅读全文
摘要:[Agent]: Good afternoon.Where are you flying today? [Todd]: I'm flying to Stockholm. [Agent]: May I see your passport, please? [Todd]: Yes. Here you a
阅读全文
摘要:Python中一个文件夹可以称作为一个包,文件夹下的文件可以称为模块 模块之间可以相互调用 在一个文件下创建两个py文件,里面的变量等,是可以相互调用的 m1.py b = [1,2,3,4] m2.py import m1 print(m1.b) 也可以 import m1 as m (嵌套的层级
阅读全文
摘要:#if-elif-else # int(input('请输入你的分数:')) grade = int(input('请输入你的分数:')) if grade -ge 90: print('优秀') elif grade -ge 70: print('良好') elif grade -ge 60: p
阅读全文
摘要:#for 主要用于遍历/循环 序列 集合 字典 # 把 a 的值循环赋值给 x a = ['apple','orange','banana','grape'] for x in a: print(x) #提取两次,第一次把a 赋值给 z ,第二次再把z 赋值给 y #for 也可以搭配else使用,
阅读全文
摘要:#while 循环 当条件为真是,则会出现死循环 ''' 如何避免死循环:condition 为一个常量时,一定会出现死循环的状态 或者限制condition 为一定的范围 当while 后面的condition为false 则执行else语句 ''' #while 常用于递归算法 abc = 1
阅读全文
摘要:[Pam] : Hi,Sally, we got a postcard from Simon [Sally]: Really? How are Simon and Jack going? Where are they? [Sally]: They're in London. They went th
阅读全文

浙公网安备 33010602011771号