Buy us a coffee

Python me map() aur filter() function

  • Intermediate
  • Module 4 of 11 in this level
  • Open to learn
Start this skill

Watch

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

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

  • map() हर item पर एक function चलाकर नयी values देता है।
  • filter() सिर्फ़ वही items रखता है जिन पर शर्त सही बैठे।
  • दोनों का नतीजा देखने के लिए list() लगाना पड़ता है।