17- Project- Best Price Finder
Jul 04, 2026 01:23
· 1:18
· English
· Whisper Turbo
· 2 المتكلمون
تنتهي صلاحية هذا النص اليوم.
تحسين التخزين الدائم →
العرض فقط
0:03
S…
Speaker 1 (17- Project- Best Price Finder)
All right, now let's put everything together and work on an interesting real world problem.
0:07
S…
Speaker 1 (17- Project- Best Price Finder)
We want to write a program to find the cheapest flights just like those price
0:11
S…
Speaker 1 (17- Project- Best Price Finder)
comparison websites.
0:12
S…
Speaker 1 (17- Project- Best Price Finder)
So we have different flight agencies that we need to query to get a quote for
0:17
S…
Speaker 1 (17- Project- Best Price Finder)
a given flight.
0:17
S…
Speaker 1 (17- Project- Best Price Finder)
Here's the output of this program.
0:19
S…
Speaker 1 (17- Project- Best Price Finder)
So we're getting a quote from these imaginary websites,
0:22
S…
Speaker 1 (17- Project- Best Price Finder)
site three,
0:23
S…
Speaker 1 (17- Project- Best Price Finder)
site one, and site two.
0:24
S…
Speaker 1 (17- Project- Best Price Finder)
Then we get three different quotes and finally we print this message.
0:28
S…
Speaker 1 (17- Project- Best Price Finder)
Retrieve all quotes in 2000 milliseconds.
0:32
S…
Speaker 1 (17- Project- Best Price Finder)
Now, we want all these to happen asynchronously.
0:35
S…
Speaker 1 (17- Project- Best Price Finder)
Because these imaginary websites may respond in different times,
0:38
S…
Speaker 1 (17- Project- Best Price Finder)
so we don't want to block the user interface and wait for their response.
0:42
S…
Speaker 1 (17- Project- Best Price Finder)
As soon as we get a quote from a flight agency,
0:44
S…
Speaker 1 (17- Project- Best Price Finder)
we want to print it here.
0:46
S…
Speaker 1 (17- Project- Best Price Finder)
Let's see this in action.
0:47
S…
Speaker 1 (17- Project- Best Price Finder)
So I'm going to run this program.
0:48
S…
Speaker 1 (17- Project- Best Price Finder)
Now we're querying all these websites.
0:51
S…
Speaker 1 (17- Project- Best Price Finder)
The first two responded faster.
0:53
S…
Speaker 1 (17- Project- Best Price Finder)
We got the third response and the final message.
0:55
S…
Speaker 1 (17- Project- Best Price Finder)
Let's see it one more time.
0:57
S…
Speaker 2 (17- Project- Best Price Finder)
There
1:02
S…
Speaker 1 (17- Project- Best Price Finder)
you go.
1:03
S…
Speaker 1 (17- Project- Best Price Finder)
So I want you to spend 20 to 30 minutes on this exercise.
1:06
S…
Speaker 1 (17- Project- Best Price Finder)
This is a fantastic exercise to practice all the materials you
1:10
S…
Speaker 1 (17- Project- Best Price Finder)
learned in this course and put them in the context of a real world problem.
1:13
S…
Speaker 1 (17- Project- Best Price Finder)
We're going to see my solution next.
هذا النص تم إنتاجه بواسطة AI (التعرف الآلي على الكلام). قد يحتوي على أخطاء - التحقق من الصوت الأصلي للاستخدام الحرج. سياسة الذكاء الاصطناعي
موجز تنفيذي
انقر على ملخص لإنشاء ملخص للذكاء الاصطناعي لهذا النص.
وباختصار...
اسأل AI عن هذا النص
وإذا سألت عن أي شيء في هذا النص، سيجد المحقق الخاص الأقسام ذات الصلة ويجيبك.