摘要:
[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 阅读全文
摘要:
A: Have you got everying?B: I think so.A: I'll take thatB: Ok,thanks Oh,that''s us then.B: Thanks for inviting us.C: Thanks for coming.B: Your shop's 阅读全文
摘要:
Todd, Did I tell you? Al and I just bought a house. Really? Congradualuations! thanks ,but we were a little nervous I can image. Buying a house is big 阅读全文
摘要:
She said her first word at 7 months old. Emlie graduated from a really good unviersity. I was married in 1983. that's when I became an adult. Her husb 阅读全文
摘要:
verb nun be born birth when were you born? graduate graduation I graduated from the unviersity two years ago. marry marriage Are you married? get prom 阅读全文