how to modify a list while iterating (intermediate) anthony explains

Описание к видео how to modify a list while iterating (intermediate) anthony explains

normally you can't modify a list while iterating over it but I show a little trick that makes it possible. I also show how you might refactor "iterating a dict while modifying" as well!

playlist:    • anthony explains  

==========

twitch:   / anthonywritescode  
dicsord:   / discord  
twitter:   / codewithanthony  
github: https://github.com/asottile
stream github: https://github.com/anthonywritescode

I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!

Комментарии

Информация по комментариям в разработке