🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

Python में खुद से बनाए गए function को क्या कहते हैं?

What do we call a function whose name is chosen by the programmer?

A
Built-in function / बिल्ट-इन फंक्शन
B
User-defined function / यूज़र-डिफ़ाइंड फंक्शन
C
Pre-defined function / प्री-डिफ़ाइंड फंक्शन
D
Standard function / स्टैण्डर्ड फंक्शन
Explanation
  • English:
    A user-defined function is a function created by the programmer, with a name chosen by the user.

  • हिंदी:
    User-defined function वह फंक्शन होता है जिसे प्रोग्रामर खुद बनाता है, और उसका नाम भी खुद तय करता है।


📌 Example / उदाहरण:

def greet():
    print("Hello!")

यह greet() एक user-defined function है।

Correct Answer: B) User-defined function / यूज़र-डिफ़ाइंड फंक्शन

Latest Updates