Back-End Programming Exam  >  Back-End Programming Videos  >  Python Tutorial in Hindi  >  Python tutorial in Hindi 75 : Enumerate Function

Python tutorial in Hindi 75 : Enumerate Function Video Lecture | Python Tutorial in Hindi - Back-End Programming

FAQs on Python tutorial in Hindi 75 : Enumerate Function Video Lecture - Python Tutorial in Hindi - Back-End Programming

1. इनुमरेट फंक्शन क्या है?
उत्तर: इनुमरेट फंक्शन पायथन में एक बिल्ट-इन फंक्शन है जो किसी इटरेबल आइटम के साथ उसके इंडेक्स को जोड़कर एक इटरेबल ऑब्जेक्ट बनाता है। यह हमें इंडेक्स के साथ इटरेबल आइटम को एक्सेस करने की अनुमति देता है।
2. इनुमरेट फंक्शन का उपयोग कैसे किया जाता है?
उत्तर: इनुमरेट फंक्शन का उपयोग करने के लिए, हमें इंटरेबल ऑब्जेक्ट को इनुमरेट फंक्शन के साथ पास करना होता है। इसके बाद, हमें फोर लूप के भीतर इंडेक्स और आइटम के लिए दो वेरिएबल्स का उपयोग करके उन्हें प्रिंट या उपयोग करने की अनुमति मिलती है।
3. इनुमरेट फंक्शन कैसे काम करता है?
उत्तर: इनुमरेट फंक्शन एक जनरेटर फंक्शन होती है जो इंटरेबल ऑब्जेक्ट को लूप के भीतर एक बार में एक आइटम वापस करती है। यह आइटम के साथ उसके इंडेक्स को जोड़कर एक टपल (tuple) बनाती है और फंक्शन को स्वचालित रूप से इस टपल को रिटर्न करती है।
4. इनुमरेट फंक्शन का उपयोग क्यों किया जाता है?
उत्तर: इनुमरेट फंक्शन का उपयोग करने से हमें पायथन में लूप के भीतर इंडेक्स और आइटम को आसानी से पहचाना जा सकता है। इसका उपयोग किसी श्रृंखला, सूची या अन्य इटरेबल ऑब्जेक्ट के प्रत्येक आइटम के साथ कुछ क्रियाएं करने के लिए किया जाता है।
5. इनुमरेट फंक्शन के पास कितने आर्ग्यूमेंट्स हो सकते हैं?
उत्तर: इनुमरेट फंक्शन के पास केवल एक ही आर्ग्यूमेंट होता है, जो एक इटरेबल ऑब्जेक्ट होता है। इसका उपयोग करने के लिए हमें इंटरेबल ऑब्जेक्ट को इनुमरेट फंक्शन के साथ पास करना होता है।
Related Searches

Free

,

Sample Paper

,

Semester Notes

,

Important questions

,

Viva Questions

,

shortcuts and tricks

,

Python tutorial in Hindi 75 : Enumerate Function Video Lecture | Python Tutorial in Hindi - Back-End Programming

,

video lectures

,

Python tutorial in Hindi 75 : Enumerate Function Video Lecture | Python Tutorial in Hindi - Back-End Programming

,

Objective type Questions

,

Exam

,

ppt

,

Summary

,

pdf

,

mock tests for examination

,

past year papers

,

MCQs

,

Extra Questions

,

study material

,

Python tutorial in Hindi 75 : Enumerate Function Video Lecture | Python Tutorial in Hindi - Back-End Programming

,

practice quizzes

,

Previous Year Questions with Solutions

;