Building a routing program to help Vancouver commuters

Welcome to the Get Help category!

This is where you can ask questions about your code. Some important things to remember when posting in this category :slight_smile:

  • Learn how to ask a good question and get a good answer!
  • Remember to include a link to the exercise you need help with!
  • If someone answers your question, please mark their response as a solution :white_check_mark:
  • Once you understand a new concept, come back and try to help someone else!

So I was doing this project but I can’t find the error, can anyone help?

Traceback (most recent call last):
File “skyroute.py”, line 105, in
active_stations = get_active_stations()
File “skyroute.py”, line 97, in get_active_stations
for station_under_contruction in stations_under_contruction:
NameError: name ‘stations_under_contruction’ is not defined
$

that’s the error, please and thank you

Is stations_under_contruction defined somewhere?

2 Likes

what do you mean? it seems fine to me

Ok so I just remade the line 97

and now it works

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