Depends, if you just want to set a variable, it ma...
# getting-started
n
Depends, if you just want to set a variable, it makes sense to define it, then set it in the for loop and use
break
. If you're in a function, you can just return your desired value after you found it