Saturday, June 6, 2020

Python Class 144 (Profit Margin) - Kapil Sharma

def ProfitMargin_function(n1,n2):
                  return (n1/n2)

NP1 = float(input("Please enter Net Profit After Tax value:"))
NS2 = float(input("Please enter Net Sales value:"))

#Profit Margin Formula = Net Profit After Tax / Net Sales 

print ("The Profit Margin is:",(ProfitMargin_function(NP1, NS2)))


===============================================================

https://github.com/bornfreesoul/PythonLessons

https://www.youtube.com/channel/UCe0rLJmSQXNoK2Mo2eMVuvg

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Blockchain: 101 (By - Kapil Sharma)

 https://testing-mines.blogspot.com/2021/10/blockchain-101-by-kapil-sharma.html Blockchain through the following attributes: Distributed:  T...