How is this used in real world, in some web application for example? I recently started learning python, but all these examples are just examples for the sake of examples. What’s the real world application for this method?
Or you use the intersection of the sets using “&”: if the returned set is empty, they are disjoint. This can then also be used for any amount of sets, not just two like in shown function.
コメント
I chuckle at that method name. “Isdisjoint? Nope a regular cigarette”
How is this used in real world, in some web application for example? I recently started learning python, but all these examples are just examples for the sake of examples. What’s the real world application for this method?
Or you use the intersection of the sets using “&”: if the returned set is empty, they are disjoint. This can then also be used for any amount of sets, not just two like in shown function.