跟读练习: 3.3k - 通过视频学习英语口语

正在创建课程...
1
Hey everyone, I'm Bull and I'm here to serve you today's slice of pie.
2
Today's topic is list comprehension.
3
So let me give you a scenario.
4
Let's say you have a long list of numbers here called nums
5
and what you want to do is get all the even numbers from this list and put them into this evens list.
6
If you have no knowledge of list comprehension, you may want to do something like this where you create a for loop and say for num in nums.
7
So for each for loop iteration, we take an item from this nums list and assign it to num.
8
Then in here, we need to check if that particular num is even or not.
9
We can do this with the modulus operator.
10
So let's say num percent two.
11
This percent sign is the modulus operator.
12
What this is doing is saying if I divide num by two, what will the remainder be?
13
So for every possible whole number, if you do a modulus of that number, you will only ever get a zero or a one.
14
Even numbers divided by two give you a zero as a remainder and odd numbers give you a one.
15
So if num modulus two is equal to 0, we know that particular number is even.
16
So in here, let's add it to our evens list.
17
So we can just do evens.append num.
18
And that's it.
19
Down here, let's print our evens list, and this should work as expected.
20
Okay, but list comprehension can do all of this logic in a much cleaner pythonic way.
21
So I'll erase this, and instead, in this evens list, I'll say num for num in nums.
22
So this is basically just taking each num in our nums list and placing it here in this evens list.
23
But this isn't what we want.
24
We're only wanting the even numbers.
25
Well, we can add some additional logic here at the end to fix this.
26
Let's say num for num in nums if that particular num, modulus 2, is equal to 0.
27
Now we should have every even number placed in this evens list.
28
So let's run this, and there we go.
29
Pretty cool, right?
30
Be sure to leave a like if you found this helpful.

背景与上下文

在这段视频中,讲者Bull向观众介绍了一种强大的Python编程技巧——列表推导(list comprehension)。他通过一个示例,展示如何从一组数字中筛选出偶数,并解释了相关的逻辑和语法。这种技巧不仅提高了代码的清晰度,还增强了编程的效率。对于希望通过看YouTube学英语来提升语言能力的学习者来说,理解编程相关的英语表达,可以帮助他们在技术领域更有效地沟通。

日常交流中的五个重要短语

  • list comprehension - 列表推导:一种简洁的方法来创建新列表。
  • for loop - 循环:用于遍历一个序列中的每一个元素。
  • modulus operator - 取模运算符:用于计算两个数相除后的余数。
  • remainder - 余数:除法运算中剩下的部分。
  • append - 添加:向列表末尾增加新元素的操作。

逐步跟读指南

要顺利掌握视频中的内容和相关英语表达,建议遵循以下步骤进行shadowspeak练习:

  1. 初步观看:第一次观看时,集中注意力在讲者的口音、语速和手势上,尽量理解大意。
  2. 文本跟读:找出视频的简要文本或生成字幕,逐句跟读,模仿讲者的发音和语调,这对于提高你的shadowspeaks技巧大有裨益。
  3. 分段练习:将视频内容分为几个小段,反复练习每个段落,直到熟悉为止。尤其是涉及技术术语的部分,如list comprehensionmodulus operator
  4. 多次复听:在练习口语时,多次回放视频,并尝试用自己的话表述相同的内容,这有助于巩固记忆。
  5. 与他人交流:通过线上小组或语言交流活动,将你学到的知识与他人分享,讨论这些表达的使用场景,提升语言应用的自信心。

通过以上方法,你可以更高效地提高英语口语能力,同时深入理解技术领域的术语和表达,让英语学习变得更为活泼有趣!

什么是跟读法?

跟读法 (Shadowing) 是一种有科学依据的语言学习技巧,最初开发用于专业口译员的培训,并由多语言者Alexander Arguelles博士普及。这个方法简单而强大:您在听英语母语原声的同时立即大声重复——就像是一个延迟1-2秒紧跟说话者的影子。与被动听力或语法练习不同,跟读法强迫您的大脑和口腔肌肉同时处理并模仿真实的讲话模式。研究表明它能显着提高发音准确性,语调,节奏,连读,听力理解和口语流利度——使其成为雅思口语备考和真实英语交流最有效的方法之一。