Saturday, May 23, 2020

Python Class 132 (Density) - Kapil Sharma


#Example of Density per cm*3 function:- 

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

MV1 = float(input("Please enter total mass value:"))
VV2 = float(input("Please enter total volume value:"))

print ("The density is (p):" , (Density_function(MV1, VV2)), "g/cm3")


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...