Computer Science · Python Programming
धोखाधड़ी का पता लगाने में विशिष्ट ट्रांजैक्शन आईडी के लिए Python सेट्स (sets) का उपयोग करते समय, set.add() वैचारिक रूप से डुप्लिकेट्स के बारे में क्या सुनिश्चित करता है?
- 1यह जोड़ने के बाद लिस्ट में परिवर्तित हो जाता है
- 2यदि तत्व पहले से मौजूद है, तो यह विशिष्टता बनाए रखते हुए स्वचालित रूप से ऑपरेशन को अनदेखा कर देता है✓
- 3यह क्रमित प्रविष्टि (ordered insertion) को संभालता है
- 4यह मौजूद होने पर भी जोड़ता है
सही उत्तर देखें
यदि तत्व पहले से मौजूद है, तो यह विशिष्टता बनाए रखते हुए स्वचालित रूप से ऑपरेशन को अनदेखा कर देता है
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Python Programming?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Python Programming