Question:
i keep getting this error when i try to deploy my python code. does anyone know why?
02/15/24 03:10:58 PM
exec [sh -c python3 main.py] error=exit status 1
02/15/24 03:10:58 PM
exec [sh -c python3 main.py] error=exec: already started
02/15/24 03:10:58 PM
Traceback (most recent call last):
02/15/24 03:10:58 PM
EOFError: EOF when reading a line
02/15/24 03:10:58 PM
inp=input("Please enter the hydraulic formula you want to use ")
02/15/24 03:10:58 PM
File "/home/runner/21c1ee9b-eb43-4179-afc6-e81f9c5e9408/main.py", line 25, in <module>
02/15/24 03:10:58 PM
Please enter the hydraulic formula you want to use
Repl link:
list_of_formulas="""
1 Pressure
2 Head In Feet
3 Drafting Height in feet
4 Momentary Nozzle Reaction
5 Smooth Bore Nozzle Reaction
6 Nozzle GPM
7 Hydrant GPM
8 Fog Nozzle Reaction
9 Vertical Reach
10 Horizontal Reach
11 Sprinkler GPM
12 Volume Of A Cylinder
13 Gallons In A Cylinder
14 Gallons In A Hose
15 Celsius To Fahrenheit
16 Fahrenheit To Celsius
"""
# user inputs the formula they want to use
print(list_of_formulas)
inp=input("Please enter the hydraulic formula you want to use ")
CapInp=inp.upper()#makes the input uppercase