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

How can I run a C++ program directly from Windows?

How-can-I-run-a-C-program-directly-from-Windows