Making simple calculation program in Python

while True: # -- Get user input and make list -- data = input("Asset(JPY),Amount of Trade,Loss-cut percentage/Exit(E)>>") if data == "E" or data == "e": break list = data.split(",") # -- Check validity of the user input -- if len(list) != …

Try Python programming with Thonny!

Thonny is a simple Python IDE(Integrated Development Environment). You can start coding immediately with Python after executing aan installer. Thonny's UI is simply composed of two text boxes space roughly. You can edit python file(.py) in…