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