Challenge
Launch counter crash
…launches_today inside the function as local or global in scope . Modify. Pass the count into the function as a second parameter, return the new count, and store it at each call, without global . It…
2 results
Challenge
…launches_today inside the function as local or global in scope . Modify. Pass the count into the function as a second parameter, return the new count, and store it at each call, without global . It…
Challenge
refuel() assigns to fuel_kg inside the function, creating a local variable and leaving the global fuel unchanged. Predict the last line, compare both values, fix it by returning the total, then write…