Space Ship Repair Post Mortems

Look at the code below:

Can you see why this student lost credit :

space-ship-repair-no-var-use

 

The student did a good job using a function and storing a value in the variable, walkDistance; however, they never then used that variable .

 

space-ship-repair-no-var-use-explained