# Python Tip Calculator

print("Welcome to the python tip calculator.")
meal = input("What is your total bill? \n")
print("Great! ")
choice = input("We are assuming that you\'ll give 10% tip. Is that right? (Y/N)")
if choice.lower() == "y":
    totalBill = float(meal) + float(meal) * 10/100
    print("The total bill is "+str(totalBill))
elif choice.lower() == "n":
    percent = input("Tell us how much tip you're gonna pay (in PERCENTS) - ")
    totalBill = float(meal) + float(meal) * float(percent)/100
    print("The total bill is "+str(totalBill))
else:
    print("This is not a valid input")

