Q. How do you specify a default parameter in a function?

आप किसी फ़ंक्शन में डिफ़ॉल्ट पैरामीटर कैसे निर्दिष्ट करते हैं?

A
def func(x = 10):
B
def func(x : 10):
C
def func(x) = 10:
D
def func = (x, 10):

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment