print ("*** Application to calculate the Gross Margin ***")
def GM_function(n1,n2):
return(n1/n2)
print ("\n")
#Gross Margin = Gross Profit / Revenue
GPV = float(input("Please enter the gross profit value:"))
RV = float(input("Please enter the revenue value:"))
print("The Gross Margin is:",(GM_function(GPV, RV)))
===============================================================
https://github.com/bornfreesoul/PythonLessons
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.