Results for “UnboundLocalError”

1 result

  1. Challenge

    Launch counter crash

    …adds 1 to a global counter and stops with an UnboundLocalError. Predict it, find out why Python treats the name as local, fix it by passing the count in and returning the new one, then write a fuel…

    Fix the code Medium 3 stages functions scope UnboundLocalError global