print ("*** Application for Expecting Returns Calculator ***")
print ("\n")
CPV = float(input("Please enter the Closing Price:"))
OPV = float(input("Please enter the Opening Price value:"))
ER1 = CPV - OPV
ER2 = ER1/OPV
ER3 = ER2 * 100
#Expecting Returns
print ("Total Expecting Returns is",(ER3),"%")
===============================================================
https://github.com/bornfreesoul/PythonLessons
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.