Computer Science · Python Programming
ऑप्टिमाइज़ेशन में एसेट पेयर के कॉम्बिनेशन उत्पन्न करने के लिए Python के itertools मॉड्यूल में, combinations() वैचारिक रूप से गैर-दोहराव वाले चयनों को कैसे सुनिश्चित करता है?
- 1यह क्रम का ध्यान रखे बिना इटरेबल्स से अद्वितीय टुपल्स (unique tuples) उत्पन्न करता है, जिससे क्रमपरिवर्तन (permutations) से बचा जा सकता है✓
- 2यह स्ट्रिंग्स को एकल तत्वों के रूप में संभालता है
- 3यह आउटपुट को वर्णानुक्रम में सॉर्ट करता है
- 4इसके लिए केवल निश्चित लंबाई के इनपुट की आवश्यकता होती है
सही उत्तर देखें
यह क्रम का ध्यान रखे बिना इटरेबल्स से अद्वितीय टुपल्स (unique tuples) उत्पन्न करता है, जिससे क्रमपरिवर्तन (permutations) से बचा जा सकता है
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