Question: i need to add two functions. project guidelines Your program should have one main function and at least one additional function. and instructor feedback i
i need to add two functions.
project guidelines
Your program should have one main function and at least one additional function.
and instructor feedback i received
please note that the course project guidelines request that you employ the use of functions, so make sure that your code is embedded in a function.
any help is appreciated
#taking tss input tss= float(input("What is your TSS? "))
#taking pH input pH= float (input("What is your pH 0-14"))
#coagulant dose formula Coag_dose = (tss//100)*40
if tss<= 100 and pH>=6.5: print ("TSS is in acceptable range") elif pH<6.5: print ("pH is too low, stop operations and adjust pH to 6.0 or greater using caustic) elif pH>11: print ("pH is too high, stop operations and adjust pH to 10 or less using acid") else: print("ph is in range, set coagulant feed rate to", Coag_dose, "PPM")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
