Here is my code, in Python:
x=float(raw_input('How many total orders have accumulated: '))
y=float(raw_input('How many units are in the inventory: '))
z=float(raw_input('How many accumulated orders have you placed: '))
print 'order (x/25)+(y/10)+(z/25) units'
I know it's long for a single line of code, but I want it executed in order, like a program. Not step by step where you have to input code in order to conduct the next step. I am writing this to give to a colleague to copy and paste and be able to run the equation hundreds and hundreds of times without writing out the equation each time.
Mind you, the first part of the code works fine, the issue is only with the last part of the code. The print command in the end of that line is:
print 'order (x/25)+(y/10)+(z/25) units'
How do I correctly set up the syntax so it will display the value of that equation rather than just display the equation itself?
I am very new to programming, and only use it as a tool to expedite other endeavors. I am unfamiliar with terminology so I had a hard time finding the information this issue. I searched google and stack exchange, but couldn't find anything.