def average(a,b):
"""This is average program """
average = (a+b)/2
return average
v = average(4, 6)
# In __doc__ it will print the line in average function (This is average program)
print(average.__doc__)
print(v)
Don't worry World will Teach U
Comments
Post a Comment