I keep on getting this error


I use the following code
def hotel_cost(nights):
night = input("Number of Nights:")
night == nights
return 140*nights
def plane_ride_cost(city):
if city == "Charlotte":
return 183
elif city == "Tampa":
return 220
elif city == "Pittsburgh":
return 222
elif city == "Los Angeles":
return 475
def rental_car_cost(days):
days = input("Number of Days")
cost = days*40
if days >=7:
return cost-50
elif days >=3:
return cost - 20
else :
return cost
I do not really see any fault In this, but it keep on giving the error "An error was raised for rental_car_cost(1) : Unexpected EOF while parsing (, line 0)


Make sure your code is intact if you want us to look at it


Your return cost should be "return cost - =50" and "return cost -= "

You are missing the '=' signs.