Question: Coding a program in Python that would be able to take two user inputs of pH and TSS (total suspended solids). tss= int(input(What is your
Coding a program in Python that would be able to take two user inputs of pH and TSS (total suspended solids).
tss= int(input("What is your TSS? "))
pH= int(input("What is your pH"))
Coag_dose = (tss//100)*2.5
if tss<= 100 and pH>=6:
print ("TSS is in acceptable range")
else: print("Increase coagulant feed by", Coag_dose, "PPM")
This is what I have so far.
I need it to tell the user to turn acid pH control on at a pH of 7.5-11. and to turn the caustic pH control on at a pH of 6-6.5 if the pH is below 5 and above 11 to stop operations and adjust the pH to 6-6.5 using either caustic or acid, depending on the pH. Any help?
Step by Step Solution
There are 3 Steps involved in it
To achieve the desired functionality you can extend your existing Python program wi... View full answer
Get step-by-step solutions from verified subject matter experts
