English语法_不定代词 - 常用短语

1


1> another day / the other day

rain,rain, go awa. Come again another day.
雨啊,雨啊, 走开吧。 改天再来吧。

I saw him the other day.
我前些日子看过他。


2> one thing; … another

To say is one thing;to do is another.
说是一回事,做又是另一回事。

  • 【;】= 【,and】

3> each other / one another

  • 相互代词

3.1> looking at eatch other

They kept looking at eatch other and smiling.
They kept looking at one other and smiling.
他们一直微笑着看着对方。


3.2> know each other

People in the room know each other.
People in the room know one another.
房间里的人彼此都认识。

  • know - knew - known;

3.3> each others’s

They held each others’s hands.
他们握着彼此的手。

  • hold - held - held;

3.4> one after another / one … after another

I ate chocolates one after another until the whole box was finished.
I ate one chocolate after anothre until the whole box was finished.
我一个接一个地吃着巧克力,直到整盒都被我吃光了。


3.5> the one…, the other…

Helen is younger than Kate, but the one is smarter than the other.
Helen is younger than Kate, but that is smarter than this.
Helen 比 Kate 年轻, 但前者却比后者聪明。

  • that 前者,Helen 距离远
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
代码段的目的是根据给定的学生名单和他们参加的不同活动,进行一些统计和计算,并输出结果。 第一段代码: ``` print("选课学生总共有", len(s_english | s_politic | s_history), '人') ``` 这段代码输出选课学生的总人数,使用了集合的并集运算符 `|`,并利用 `len()` 函数获取集合的元素个数。 第二段代码: ``` print('只选了第一个学科的人的数量:', len(s_history - s_politic - s_english), '姓名:', s_history - s_politic - s_english) ``` 这段代码输出只选了第一个学科(历史)的学生数量以及他们的姓名,使用了集合的差集运算符 `-`,并利用 `len()` 函数获取集合的元素个数。 第三段代码: ``` s1 = s_history - s_politic - s_english s2 = s_english - s_politic - s_history s3 = s_politic - s_english - s_history print('只选了一门学科的学生的数量:', len(s1 | s2 | s3), '姓名:', s1 | s2 | s3) ``` 这段代码计算只选了一门学科的学生数量以及他们的姓名,通过连续使用集合的差集运算符 `-` 和并集运算符 `|`,得到只选择了一个学科的学生,并输出结果。 第四段代码: ``` s = s_english & s_history & s_politic s1 = s_history & s_politic - s s2 = s_english & s_politic - s s3 = s_history & s_english - s print('只选了两门学科的学生的数量:', len(s1 | s2 | s3), '姓名:', s1 | s2 | s3) ``` 这段代码计算只选了两门学科的学生数量以及他们的姓名,使用了集合的交集运算符 `&` 和差集运算符 `-`,通过对三个学科的交集进行运算,得到只选择了两门学科的学生,并输出结果。 最后一段代码: ``` print('选了三门学生的学生的数量:', len(s_english & s_politic & s_history), '姓名:', s_english & s_politic & s_history) ``` 这段代码计算选了三门学科的学生数量以及他们的姓名,使用了集合的交集运算符 `&`,通过对三个学科的交集进行运算,得到同时选择了三门学科的学生,并输出结果。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值