Run not working in Python


Trying to run python code . When i click run , the run button runs but nothing happens . Tried all kind of Codes still Run won’t work. Tried different PC’s still same result.
The code i tried at last :

def plane_ride_cost(city):
if city == “Charlotte”:
return 183
elif city = “Tampa”:
return 220
elif city = “pittsburgh”:
return 222
return 475 .
Help Needed !


Typo on `pittsburgh’ (should be capitalized).

This function should not have a default (else). It should be,

elif city == "Los Angeles":


2 posts were split to a new topic: Entire lesson worked just fine until the last 2 steps


The correction of the code is right, but it still doesn’t help the problem, that the code doen’t run. I’ve got the same problem, the code is definetly correct, but nothing happens, when I click “Run”. When I try the reset the workspace the error 1/ has been moved. I already filed a bug report couple of days ago but nothing happens and I can’t continue the course whichh is quite annoying.


I have the same problem with take a vacation. I have already filed a bug reported three times and still the same problem.


To make it work, you must:

  1. Save your work
  2. Reload the page
  3. You are done!


Have tried it. Does not work.


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