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
326 visits
Outline:পাইথনে সেট কি? ইনপুট সেট সেট বানানো খালি সেট কিভাবে বানায়? সেটের উপর অপারেশন মেথড যুক্ত করা এবং সরানো Union এবং intersection মেথড Difference এবং symmetric_difference মেথড সাবসেট এবং সুপারসেট সেটে দৈর্ঘ্য এবং কন্টেনারশীপ
পাইথনে সেট কি? ইনপুট সেট সেট বানানো খালি সেট কিভাবে বানায়? সেটের উপর অপারেশন মেথড যুক্ত করা এবং সরানো Union এবং intersection মেথড Difference এবং symmetric_difference মেথড সাবসেট এবং সুপারসেট সেটে দৈর্ঘ্য এবং কন্টেনারশীপ
Show video info
Pre-requisite