Buy us a coffee

Python me set aur duplicate hatana

  • Basic
  • Module 7 of 7 in this level
  • Open to learn
Start this skill

Watch

Watch the video to unlock the quizquiz खोलने के लिए video देखें

What you should understandआपको क्या समझना है?

  • Set में हर चीज़ सिर्फ़ एक बार रहती है; दोहराव अपने आप हट जाता है।
  • List को set() में डालकर duplicate हटाना सबसे आसान तरीक़ा है।
  • Set में क्रम तय नहीं होता, इसलिए index से चीज़ें नहीं निकलतीं।