シャドーイング練習: 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.

このレッスンについて

このレッスンでは、リスト内包表記を使用して、リストから偶数を取得する方法を学びます。具体的には、長い数値のリストから偶数を抽出し、新しいリストに格納する過程を通じて、Pythonのコーディングスタイルと効率について考察します。このレッスンを通じて、YouTubeで英語学習をしている方々は、プログラミングの文法や表現を学びながら、自分の英語力を向上させる機会を得られるでしょう。

重要な語彙とフレーズ

  • リスト内包表記 (list comprehension) - 簡潔にリストを作成するためのPythonの手法。
  • 偶数 (even numbers) - 2で割り切れる整数。
  • モジュラス演算子 (modulus operator) - 割り算の余りを返す演算子(例:%)。
  • forループ (for loop) - 繰り返し処理を実行するための制御構造。
  • 残り (remainder) - 割り算をしたときの余り。
  • appendメソッド (append method) - リストに要素を追加するためのメソッド。
  • Pythonic (パイソニック) - Pythonのスタイルに合った、読みやすく効率的なコーディング。

練習のヒント

動画の内容を効果的にマスターするためには、shadow speechを試みるのが有効です。特に、動画の速さやトーンに合わせて声を出すことで、流暢さや発音の精度を高めることができます。まず、音声を一時停止してそのフレーズを繰り返したり、少し速度を落としてみると良いでしょう。また、リスト内包表記のような概念を声に出して説明できるようになることで、IELTSスピーキング対策にも有効です。shadowspeaksと呼ばれる技術を使うことで、実践的な英語能力を養い、より自然な会話ができるようになるでしょう。動画で学んだフレーズや表現を使いながら、自分の言葉で説明する練習を続けてください。

シャドーイングとは?英語上達に効果的な理由

シャドーイング(Shadowing)は、もともとプロの通訳者養成プログラムで開発された言語学習法で、多言語習得者として知られるDr. Alexander Arguelles によって広く普及されました。方法はシンプルですが非常に効果的:ネイティブスピーカーの英語を聞きながら、1〜2秒の遅延で声に出してすぐに繰り返す——まるで「影(shadow)」のように話者を追いかけます。文法ドリルや受動的なリスニングと異なり、シャドーイングは脳と口の筋肉が同時にリアルタイムで英語を処理・再現することを強制します。研究により、発音精度、抑揚、リズム、連音、リスニング力、そして会話の流暢さが大幅に向上することが確認されています。IELTSスピーキング対策や自然な英語コミュニケーションを目指す方に特におすすめです。