Question: How would I join this two functions? How would I do this??: Save the functions developed called red and blue in a module. Write a

How would I join this two functions?
How would I do this??: Save the functions developed called red and blue in a module. Write a Python program that asks you in display to the user the temperature, pressure and degree of contamination. The program must invoke the functions before developed and display on the screen the phase in which the material is.
def red(t,p): if p == -61.16 and t == -15.4: return('se encuentra entre 1% y 5% en la zona 3') elif p (5437/1300)*t-(1205159/13000) and p >= (-1967/1915)*t-(709346/9575): return('se encuentra entre 1% y 5% en la zona 3') elif p == -77.23 and t == 3.7: return('se encuentra entre 1% y 5% en las zonas 1, 2, y 3') elif p == -22.86 and t == 16.7: return('se encuentra entre 1% y 5% en las zonas 3 y 2') elif p (13/30)*t-(473/6) and p = (-1067/1915)*t-(709346/9575) and p >= (383/321)*t-(38720/321): return('se encuentra entre 1% y 5% en la zona 1') elif p== -93.30 and t == 22.9: return('se encuentra entre 1% y 5% en la zona 1') elif P == (5437/1300)*t-(1205159/13000): return('se encuentra entre 1% y 5% en las zonas 3 y 2') (13/30)*t-(473/6): return('se encuentra entre 1% y 5% en las zonas 1 y 2') else: return('Fuera de zona') elif p = def blue(t,p): if p 2*t-(165): return('esta en menos del 1% en la zona 1') elif p = -55: return('esta en menos del 1% en la zona 2') elif p > (-2)*t + 155 and p
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
