Advertisements
Advertisements
प्रश्न
Give an example of a function header which uses both.
कोड लेखन
Advertisements
उत्तर
def student_info(name, age, course="Computer Science"):
# 'name' and 'age' are positional parameters
# 'course' is a default parameter
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
