Friday, May 6, 2022

Python program to calculate stop-loss level for a given buy price.

 def findSLTP():

c = int(input("Enter current market price : "))

print("SLTP for " + str(c) + " at 6% loss should be : " + str(int(c - 0.06*c))) 

x = input("Press Enter to exit application ")

findSLTP()

No comments:

Post a Comment

Python Certification

 Python course from codebasics  https://codebasics.io/courses/python-beginner-to-advanced?utm_source=infocard&utm_medium=yt&utm_camp...