Created
October 31, 2016 21:19
-
-
Save daniel-obrien/0ee32ac7a23418a297ed4514c4be5587 to your computer and use it in GitHub Desktop.
pH Scale
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#The pH Scale | |
from datetime import datetime | |
from time import sleep | |
while True: | |
value=input("Please enter the pH value between 1 and 14......") | |
if value == "7": | |
print("Neutral e.g Distilled Water") | |
elif value <= "6": | |
print(" Acid e.g Lemon Juice") | |
elif value >= "8": | |
print("Base e.g Toothpaste") | |
else: | |
print("ERROR") | |
print("Thank You for using this pH scale!!!!") | |
sleep(3) | |
print("More Info: https://en.wikipedia.org/wiki/PH#/media/File:216_pH_Scale-01.jpg") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment