Wednesday, May 20, 2020

Python Class 127 - Kapil Sharma

#Percentage Function Example: -


def percentage_function(n1, n2):
    return (n1/n2*100)

uv1 = float(input("Please enter first value: "))
uv2 = float(input("Please enter second value:"))

result = percentage_function(uv1,uv2)
print(result)


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

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