I have this code
import time
total = int(input("What has the total come to?"))
times = float(input("What percent tip are you going to leave? Example: 1.15 = 15%"))
time.sleep(1)
people = int(input("How many people are there?"))
time.sleep(1)
tip=total*times
share=tip/people
print("The total is:", round(tip, 3))
print("You all have to pay", round(share, 3), "Each")
time.sleep(1)
taxi = 0.45
home = str(input("Are you taking a Taxi home?"))
if home in ("Yes", "YES", "yes"):
distance = int(input("How many miles do you have to go?")
ammount=taxi*distance
print("Your total for your Journey is", ammount)
I'm working on a taxi calculator and keep getting this error "Invalid syntax". The part that calculates the tip works.