Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
" Please keep in mind that the test cases ensure that the number of people in the bus is always >= 0. "
Yes, if you try using the stop variable after the list comprehension, it will raise a NameError exception since it is not declared on the current scope!
The stop variable is defined in the list comprehension scope (at the 'for xxx in' part), it's 100% valid and shouldn't raise any VSC errors.