"""Author Arianna Delgado
Created on June 14, 2020
"""

#Defines a function.
def average(a,b):
    #Ways of obtaining the same results. 
    #Print ("The average of two numbers is", (a+b)/2).
    return (a+b)/2


#Calls the function with passing values.
result = average(20,10)  
print (result)  

#Ways of obtaining the same results. 
#print( average(20,10))