Cant figure out whats wrong


File "python", line 6
if city == "Charlotte":
IndentationError: expected an indented block

def hotel_cost(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"


Move the entire function body four spaces to the right.


ok ill try srry didnt answer sooner school finished before someone answered XD


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.