#Example of percentage function:-
def percentage_function(n1,n2):
return (n1/100*n2)
uv1 = float(input("Please enter the first value:"))
uv2 = float(input("Please enter the second value:"))
print(percentage_function(uv1, uv2))
===============================================================
https://github.com/bornfreesoul/PythonLessons
https://www.youtube.com/channel/UCe0rLJmSQXNoK2Mo2eMVuvg
def percentage_function(n1,n2):
return (n1/100*n2)
uv1 = float(input("Please enter the first value:"))
uv2 = float(input("Please enter the second value:"))
print(percentage_function(uv1, uv2))
===============================================================
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.