This is a sample video. To access the full content, please Login
If a is a set, how do you check if variable b exists in a?Here, the answer is, b in a But it has been mentioned that b is a variable and not an element of a. So, in that case the answer that has been provided in the tutorial is wrong. It should be, b<=a
1008 visits
Outline:पाइथन में सेट्स क्या हैं? इनपुट सेट्स सेट्स बनाना खाली सेट्स कैसे बनाएं? सेट्स पर ऑपरेशन्स मेथड जोड़ना और हटाना Union और intersection मेथड्स Difference और symmetric_difference मेथड़्स सबसेट और सुपरसेट सेट्स पर लैंथ और कन्टेनरशिप
पाइथन में सेट्स क्या हैं? इनपुट सेट्स सेट्स बनाना खाली सेट्स कैसे बनाएं? सेट्स पर ऑपरेशन्स मेथड जोड़ना और हटाना Union और intersection मेथड्स Difference और symmetric_difference मेथड़्स सबसेट और सुपरसेट सेट्स पर लैंथ और कन्टेनरशिप
Show video info
Pre-requisite