章次 章 次
-
0:03章章章 章章 章 次 第一章 章 第一章 一章 1: Now let's talk about the set interface. 302s · Speaker 2
Now let's talk about the set interface. This interface represents a collection that contains no duplicates. So it's a great way for storing a list of unique values. Let me show you. So here I'm going to declare a variable of type set of str…
-
5:06章章章 章章 章 次 第一章 章 第一章 一章 2: You want to know what items we have in the first set that we do not have in the second set. 24s · Speaker 2
You want to know what items we have in the first set that we do not have in the second set. To do that we call the remove all method. So we are removing everything that we have in set two and keeping the rest. Take a look. So the result is …