Answer:
Public
Explanation:
It happens if a part of the public phase software development
Answer:
try:
pH = float(input("Enter number between 0 to 14: "))
except ValueError:
print("input must be a number")
if pH < 7:
print("pH is Acidity")
elif pH == 7:
print("pH is neutral")
else:
print("pH is Base/alkaline")(
Explanation:
The try and except statement is used to check if the input is a number, if its not, the print statement is displayed. The nested if statement compares the pH input to know if it is an acid, base or neutral.
In python, spaces in the sense you're talking about, dont matter. For instance,
print ( "hello") will run the same as print("hello")
But, you cannot put a space before the print statement. That's called indenting. You are only supposed to indent code that is inside loops, if-elif-else statements, and functions.