Closed fifisaac closed 6 months ago
Apologies, just realised pick_lap() is deprecated
Jump in to say that the error is not because pick_lap
itself. You are reassigning the lap
variable in the first iteration of the loop which causes the subsequent iterations to fail.
Jump in to say that the error is not because
pick_lap
itself. You are reassigning thelap
variable in the first iteration of the loop which causes the subsequent iterations to fail.
Thank you! Spent so much time banging my head against the wall I missed that
Describe the issue:
Using the pick_lap() function with a variable as a parameter within a for loop returns an error, but works correctly with a value passed as a parameter instead
Reproduce the code example:
Error message: