Menu Close

Identify pH level

pH stands for “power of Hydrogen(H)”
A simple program.
Write a Python Program to identify pH Level Name using the following condition.
Ph <7.0 acidic Ph>7.0 basic
Ph=0 neutral
A simple program.
Write a Python Program to identify pH Level Name using the following condition.
Ph <7.0 acidic Ph>7.0 basic
Ph=0 neutral

pH=int(input("Enter the pH value: "))
if pH<7.0:
  print("acidic")
elif pH>7.0:
  print("basic")
elif pH==0:
  print("neutral")

More Codes to Fcuk